Skip to content

Commit

Permalink
[PATCH] ARM: 2838/1: Fix arm oprofile backtrace warning
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Richard Purdie authored and Russell King committed Aug 4, 2005
1 parent ff2afb9 commit c013622
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arch/arm/oprofile/backtrace.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit c013622

Please sign in to comment.