From: Ian Campbell Date: Mon, 29 Jul 2013 12:20:57 +0000 (+0100) Subject: xen: arm: show less words in a line of a stack trace in 64-bit builds X-Git-Tag: archive/raspbian/4.8.0-1+rpi1~1^2~6591 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=c39486b1c1de93e6dd81cd192e61bda26279b0d1;p=xen.git xen: arm: show less words in a line of a stack trace in 64-bit builds Words are twice as wide so this ensures that a line is still <80 characters. Signed-off-by: Ian Campbell Acked-by: Stefano Stabellini --- diff --git a/xen/arch/arm/traps.c b/xen/arch/arm/traps.c index 37e4739452..075c3b2a4f 100644 --- a/xen/arch/arm/traps.c +++ b/xen/arch/arm/traps.c @@ -57,10 +57,15 @@ static inline void check_stack_alignment_constraints(void) { #endif } +#ifdef CONFIG_ARM_32 static int debug_stack_lines = 20; -integer_param("debug_stack_lines", debug_stack_lines); - #define stack_words_per_line 8 +#else +static int debug_stack_lines = 40; +#define stack_words_per_line 4 +#endif + +integer_param("debug_stack_lines", debug_stack_lines); void __cpuinit init_traps(void)