summaryrefslogtreecommitdiffstats
path: root/arch/blackfin/mach-common/interrupt.S
diff options
context:
space:
mode:
authorRobin Getz <robin.getz@analog.com>2007-12-21 10:46:33 +0100
committerBryan Wu <bryan.wu@analog.com>2007-12-21 10:46:33 +0100
commit0626d79686b4536eac1dc88e2cf52d927a5010c2 (patch)
tree3fadb0240ca7cdfc1d899c76ab16c4e506633198 /arch/blackfin/mach-common/interrupt.S
parent[Blackfin] arch: fix bug gdb testing on hardware has regression (diff)
downloadlinux-0626d79686b4536eac1dc88e2cf52d927a5010c2.tar.xz
linux-0626d79686b4536eac1dc88e2cf52d927a5010c2.zip
[Blackfin] arch: do not use hard coded addresses
Signed-off-by: Robin Getz <robin.getz@analog.com> Signed-off-by: Bryan Wu <bryan.wu@analog.com>
Diffstat (limited to 'arch/blackfin/mach-common/interrupt.S')
-rw-r--r--arch/blackfin/mach-common/interrupt.S8
1 files changed, 4 insertions, 4 deletions
diff --git a/arch/blackfin/mach-common/interrupt.S b/arch/blackfin/mach-common/interrupt.S
index f983ac7ea352..7f752c87fe46 100644
--- a/arch/blackfin/mach-common/interrupt.S
+++ b/arch/blackfin/mach-common/interrupt.S
@@ -121,8 +121,8 @@ __common_int_entry:
#if ANOMALY_05000283 || ANOMALY_05000315
cc = r7 == r7;
- p5.h = 0xffc0;
- p5.l = 0x0014;
+ p5.h = HI(CHIPID);
+ p5.l = LO(CHIPID);
if cc jump 1f;
r7.l = W[p5];
1:
@@ -145,8 +145,8 @@ ENTRY(_evt_ivhw)
#if ANOMALY_05000283
cc = r7 == r7;
- p5.h = 0xffc0;
- p5.l = 0x0014;
+ p5.h = HI(CHIPID);
+ p5.l = LO(CHIPID);
if cc jump 1f;
r7.l = W[p5];
1: