hc
2023-12-09 b22da3d8526a935aa31e086e63f60ff3246cb61c
kernel/arch/arm/common/fiq_glue_setup.c
....@@ -33,7 +33,7 @@
3333 {
3434 struct fiq_glue_handler *handler = info;
3535 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),
3737 fiq_return_handler);
3838 }
3939
....@@ -139,7 +139,7 @@
139139 if (!current_handler)
140140 return;
141141 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),
143143 fiq_return_handler);
144144 if (current_handler->resume)
145145 current_handler->resume(current_handler);