|
@@ -141,8 +141,7 @@ void ist_begin_non_atomic(struct pt_regs *regs)
|
|
* will catch asm bugs and any attempt to use ist_preempt_enable
|
|
* will catch asm bugs and any attempt to use ist_preempt_enable
|
|
* from double_fault.
|
|
* from double_fault.
|
|
*/
|
|
*/
|
|
- BUG_ON((unsigned long)(current_top_of_stack() -
|
|
|
|
- current_stack_pointer) >= THREAD_SIZE);
|
|
|
|
|
|
+ BUG_ON(!on_thread_stack());
|
|
|
|
|
|
preempt_enable_no_resched();
|
|
preempt_enable_no_resched();
|
|
}
|
|
}
|