aboutsummaryrefslogtreecommitdiffstats
path: root/arch/powerpc/perf/bhrb.S
diff options
context:
space:
mode:
Diffstat (limited to 'arch/powerpc/perf/bhrb.S')
-rw-r--r--arch/powerpc/perf/bhrb.S2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/powerpc/perf/bhrb.S b/arch/powerpc/perf/bhrb.S
index 1aa3259716b8..47ba05d5ae76 100644
--- a/arch/powerpc/perf/bhrb.S
+++ b/arch/powerpc/perf/bhrb.S
@@ -21,7 +21,7 @@
_GLOBAL(read_bhrb)
cmpldi r3,31
bgt 1f
- ld r4,bhrb_table@got(r2)
+ LOAD_REG_ADDR(r4, bhrb_table)
sldi r3,r3,3
add r3,r4,r3
mtctr r3