| .. | .. |
|---|
| 33 | 33 | { |
|---|
| 34 | 34 | struct fiq_glue_handler *handler = info; |
|---|
| 35 | 35 | fiq_glue_setup(handler->fiq, handler, |
|---|
| 36 | | - __get_cpu_var(fiq_stack) + THREAD_START_SP, |
|---|
| 36 | + (void *)((*this_cpu_ptr(&fiq_stack)) + THREAD_START_SP), |
|---|
| 37 | 37 | fiq_return_handler); |
|---|
| 38 | 38 | } |
|---|
| 39 | 39 | |
|---|
| .. | .. |
|---|
| 139 | 139 | if (!current_handler) |
|---|
| 140 | 140 | return; |
|---|
| 141 | 141 | fiq_glue_setup(current_handler->fiq, current_handler, |
|---|
| 142 | | - __get_cpu_var(fiq_stack) + THREAD_START_SP, |
|---|
| 142 | + (void *)((*this_cpu_ptr(&fiq_stack)) + THREAD_START_SP), |
|---|
| 143 | 143 | fiq_return_handler); |
|---|
| 144 | 144 | if (current_handler->resume) |
|---|
| 145 | 145 | current_handler->resume(current_handler); |
|---|