aboutsummaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorAlexander van Heukelum <heukelum@mailshack.com>2008-10-05 06:39:36 -0400
committerIngo Molnar <mingo@elte.hu>2008-10-13 04:33:49 -0400
commit6a2ae2d9f9212de47c16e23080162aada882c8b6 (patch)
treeb3f4970f84c2c60f89f487a642bcf9cdecd23ddf /arch
parentcb48bb59995d2d14a0c732835c80bbcfb354de31 (diff)
dumpstack: x86: various small unification steps, fix
After "dumpstack: x86: various small unification steps", the assembler gives the following compile error. The error is in dumpstack_64.c. {standard input}: Assembler messages: {standard input}:720: Error: Incorrect register `%rbx' used with `l' suffix {standard input}:1340: Error: Incorrect register `%r12' used with `l' suffix Indeed the suffix in get_bp() was wrong. Signed-off-by: Alexander van Heukelum <heukelum@fastmail.fm> Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'arch')
-rw-r--r--arch/x86/kernel/dumpstack_64.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/kernel/dumpstack_64.c b/arch/x86/kernel/dumpstack_64.c
index 13379a988292..086cc8118e39 100644
--- a/arch/x86/kernel/dumpstack_64.c
+++ b/arch/x86/kernel/dumpstack_64.c
@@ -17,7 +17,7 @@
17#include <asm/stacktrace.h> 17#include <asm/stacktrace.h>
18 18
19#define STACKSLOTS_PER_LINE 4 19#define STACKSLOTS_PER_LINE 4
20#define get_bp(bp) asm("movl %%rbp, %0" : "=r" (bp) :) 20#define get_bp(bp) asm("movq %%rbp, %0" : "=r" (bp) :)
21 21
22int panic_on_unrecovered_nmi; 22int panic_on_unrecovered_nmi;
23int kstack_depth_to_print = 3 * STACKSLOTS_PER_LINE; 23int kstack_depth_to_print = 3 * STACKSLOTS_PER_LINE;