summaryrefslogtreecommitdiffstats
path: root/arch/arm/kernel/time.c
diff options
context:
space:
mode:
authorRussell King <rmk@dyn-67.arm.linux.org.uk>2008-09-06 11:14:24 +0200
committerRussell King <rmk+kernel@arm.linux.org.uk>2008-09-06 11:35:51 +0200
commit1de765c1e940e23d83ec57035769e8af003f8796 (patch)
tree870b35535cc45e13249d34e201d27c596040c016 /arch/arm/kernel/time.c
parent[ARM] sparse: fix several warnings (diff)
downloadlinux-1de765c1e940e23d83ec57035769e8af003f8796.tar.xz
linux-1de765c1e940e23d83ec57035769e8af003f8796.zip
[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>
Diffstat (limited to 'arch/arm/kernel/time.c')
-rw-r--r--arch/arm/kernel/time.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/kernel/time.c b/arch/arm/kernel/time.c
index 368d171754cf..c68b44aa88d2 100644
--- a/arch/arm/kernel/time.c
+++ b/arch/arm/kernel/time.c
@@ -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;