diff options
Diffstat (limited to 'arch/x86/kernel/dumpstack_64.c')
-rw-r--r-- | arch/x86/kernel/dumpstack_64.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/kernel/dumpstack_64.c b/arch/x86/kernel/dumpstack_64.c index 563554c90686..361afa8864b4 100644 --- a/arch/x86/kernel/dumpstack_64.c +++ b/arch/x86/kernel/dumpstack_64.c | |||
@@ -141,7 +141,7 @@ print_context_stack(struct thread_info *tinfo, | |||
141 | 141 | ||
142 | addr = *stack; | 142 | addr = *stack; |
143 | if (__kernel_text_address(addr)) { | 143 | if (__kernel_text_address(addr)) { |
144 | if ((unsigned long) stack == bp + 8) { | 144 | if ((unsigned long) stack == bp + sizeof(long)) { |
145 | ops->address(data, addr, 1); | 145 | ops->address(data, addr, 1); |
146 | frame = frame->next_frame; | 146 | frame = frame->next_frame; |
147 | bp = (unsigned long) frame; | 147 | bp = (unsigned long) frame; |