From: Ian Campbell Subject: [PATCH 09/14] xen: arm: show less words in a line of a stack trace in 64-bit builds Date: Tue, 12 Mar 2013 15:48:44 +0000 Message-ID: <1363103329-23478-9-git-send-email-ijc@hellion.org.uk> References: <1363100034.8941.204.camel@hastur.hellion.org.uk> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1363100034.8941.204.camel@hastur.hellion.org.uk> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: xen-devel@lists.xen.org Cc: stefano.stabellini@citrix.com, tim@xen.org, Ian Campbell List-Id: xen-devel@lists.xenproject.org From: Ian Campbell Words are twice as wide so this ensures that a line is still <80 characters. Signed-off-by: Ian Campbell --- xen/arch/arm/traps.c | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/xen/arch/arm/traps.c b/xen/arch/arm/traps.c index 2671eba..f1dd557 100644 --- a/xen/arch/arm/traps.c +++ b/xen/arch/arm/traps.c @@ -55,10 +55,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) -- 1.7.10.4