[ARM] remove pc_pointer()
pc_pointer() was a function to mask the PC for 26-bit ARMs, which we no longer support. Remove it. Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
This commit is contained in:
committed by
Russell King
parent
09d9bae064
commit
1de765c1e9
@ -59,7 +59,7 @@ unsigned long profile_pc(struct pt_regs *regs)
|
||||
|
||||
if (in_lock_functions(pc)) {
|
||||
fp = regs->ARM_fp;
|
||||
pc = pc_pointer(((unsigned long *)fp)[-1]);
|
||||
pc = ((unsigned long *)fp)[-1];
|
||||
}
|
||||
|
||||
return pc;
|
||||
|
Reference in New Issue
Block a user