diff options
author | Richard Purdie <rpurdie@rpsys.net> | 2005-08-04 10:06:59 -0400 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2005-08-04 10:06:59 -0400 |
commit | c013622d5fe0ffeb0c74b2af4c2b1aad6164f709 (patch) | |
tree | 958eaf224a3ca3fc4f109ae0a8b4ce32797f17d5 /arch/arm/oprofile/backtrace.c | |
parent | ff2afb9df607dfcaacdaf67ea84b773c6fb08f4c (diff) |
[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 <rpurdie@rpsys.net>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'arch/arm/oprofile/backtrace.c')
-rw-r--r-- | arch/arm/oprofile/backtrace.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/oprofile/backtrace.c b/arch/arm/oprofile/backtrace.c index ec58d3e2eb8b..df35c452a8bf 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) | |||
115 | return (tailaddr > stack) && (tailaddr < stack_base); | 115 | return (tailaddr > stack) && (tailaddr < stack_base); |
116 | } | 116 | } |
117 | 117 | ||
118 | void arm_backtrace(struct pt_regs const *regs, unsigned int depth) | 118 | void arm_backtrace(struct pt_regs * const regs, unsigned int depth) |
119 | { | 119 | { |
120 | struct frame_tail *tail; | 120 | struct frame_tail *tail; |
121 | unsigned long last_address = 0; | 121 | unsigned long last_address = 0; |