From: Richard Purdie Date: Thu, 4 Aug 2005 14:06:59 +0000 (+0100) Subject: [PATCH] ARM: 2838/1: Fix arm oprofile backtrace warning X-Git-Tag: v2.6.13-rc6~54^2~1 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=c013622d5fe0ffeb0c74b2af4c2b1aad6164f709;p=linux-2.6-omap-h63xx.git [PATCH] ARM: 2838/1: Fix arm oprofile backtrace warning Patch from Richard Purdie Fix a typo causing a warning in the arm oprofile backtrace code. Signed-off-by: Richard Purdie Signed-off-by: Russell King --- diff --git a/arch/arm/oprofile/backtrace.c b/arch/arm/oprofile/backtrace.c index ec58d3e2eb8..df35c452a8b 100644 --- a/arch/arm/oprofile/backtrace.c +++ b/arch/arm/oprofile/backtrace.c @@ -115,7 +115,7 @@ static int valid_kernel_stack(struct frame_tail *tail, struct pt_regs *regs) return (tailaddr > stack) && (tailaddr < stack_base); } -void arm_backtrace(struct pt_regs const *regs, unsigned int depth) +void arm_backtrace(struct pt_regs * const regs, unsigned int depth) { struct frame_tail *tail; unsigned long last_address = 0;