]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
[PATCH] ARM: 2838/1: Fix arm oprofile backtrace warning
authorRichard Purdie <rpurdie@rpsys.net>
Thu, 4 Aug 2005 14:06:59 +0000 (15:06 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Thu, 4 Aug 2005 14:06:59 +0000 (15:06 +0100)
Patch from Richard Purdie

Fix a typo causing a warning in the arm oprofile backtrace code.

Signed-off-by: Richard Purdie <rpurdie@rpsys.net>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/oprofile/backtrace.c

index ec58d3e2eb8bef453dd8b7ba17db4d672c3debd9..df35c452a8bf6528c3cf92ee892af205350d7b50 100644 (file)
@@ -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;