Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 283541
b: refs/heads/master
c: 467e6b7
h: refs/heads/master
i:
  283539: 9e568a6
v: v3
  • Loading branch information
Mitsuo Hayasaka authored and Ingo Molnar committed Dec 5, 2011
1 parent cf95b5c commit 0281c82
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 55af77969fbd7a841838220ea2287432e0da8ae5
refs/heads/master: 467e6b7a7c0eb792ebaf322ddb7363742b4ead40
7 changes: 3 additions & 4 deletions trunk/arch/x86/kernel/irq_64.c
Original file line number Diff line number Diff line change
Expand Up @@ -46,10 +46,9 @@ static inline void stack_overflow_check(struct pt_regs *regs)
if (user_mode_vm(regs))
return;

if (regs->sp >= curbase &&
regs->sp <= curbase + THREAD_SIZE &&
regs->sp >= curbase + sizeof(struct thread_info) +
sizeof(struct pt_regs) + 128)
if (regs->sp >= curbase + sizeof(struct thread_info) +
sizeof(struct pt_regs) + 128 &&
regs->sp <= curbase + THREAD_SIZE)
return;

irq_stack_top = (u64)__get_cpu_var(irq_stack_union.irq_stack);
Expand Down

0 comments on commit 0281c82

Please sign in to comment.