|
@@ -64,7 +64,7 @@ static void call_on_stack(void *func, void *stack)
|
|
|
|
|
|
static inline void *current_stack(void)
|
|
|
{
|
|
|
- return (void *)(current_stack_pointer() & ~(THREAD_SIZE - 1));
|
|
|
+ return (void *)(current_stack_pointer & ~(THREAD_SIZE - 1));
|
|
|
}
|
|
|
|
|
|
static inline int execute_on_irq_stack(int overflow, struct irq_desc *desc)
|
|
@@ -88,7 +88,7 @@ static inline int execute_on_irq_stack(int overflow, struct irq_desc *desc)
|
|
|
|
|
|
/* Save the next esp at the bottom of the stack */
|
|
|
prev_esp = (u32 *)irqstk;
|
|
|
- *prev_esp = current_stack_pointer();
|
|
|
+ *prev_esp = current_stack_pointer;
|
|
|
|
|
|
if (unlikely(overflow))
|
|
|
call_on_stack(print_stack_overflow, isp);
|
|
@@ -139,7 +139,7 @@ void do_softirq_own_stack(void)
|
|
|
|
|
|
/* Push the previous esp onto the stack */
|
|
|
prev_esp = (u32 *)irqstk;
|
|
|
- *prev_esp = current_stack_pointer();
|
|
|
+ *prev_esp = current_stack_pointer;
|
|
|
|
|
|
call_on_stack(__do_softirq, isp);
|
|
|
}
|