aboutsummaryrefslogtreecommitdiffstats
path: root/arch/powerpc/sysdev/dcr-low.S
diff options
context:
space:
mode:
Diffstat (limited to 'arch/powerpc/sysdev/dcr-low.S')
-rw-r--r--arch/powerpc/sysdev/dcr-low.S3
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/powerpc/sysdev/dcr-low.S b/arch/powerpc/sysdev/dcr-low.S
index d3098ef1404a..e687bb2003ff 100644
--- a/arch/powerpc/sysdev/dcr-low.S
+++ b/arch/powerpc/sysdev/dcr-low.S
@@ -12,6 +12,7 @@
12#include <asm/ppc_asm.h> 12#include <asm/ppc_asm.h>
13#include <asm/processor.h> 13#include <asm/processor.h>
14#include <asm/bug.h> 14#include <asm/bug.h>
15#include <asm/export.h>
15 16
16#define DCR_ACCESS_PROLOG(table) \ 17#define DCR_ACCESS_PROLOG(table) \
17 cmpli cr0,r3,1024; \ 18 cmpli cr0,r3,1024; \
@@ -28,9 +29,11 @@
28 29
29_GLOBAL(__mfdcr) 30_GLOBAL(__mfdcr)
30 DCR_ACCESS_PROLOG(__mfdcr_table) 31 DCR_ACCESS_PROLOG(__mfdcr_table)
32EXPORT_SYMBOL(__mfdcr)
31 33
32_GLOBAL(__mtdcr) 34_GLOBAL(__mtdcr)
33 DCR_ACCESS_PROLOG(__mtdcr_table) 35 DCR_ACCESS_PROLOG(__mtdcr_table)
36EXPORT_SYMBOL(__mtdcr)
34 37
35__mfdcr_table: 38__mfdcr_table:
36 mfdcr r3,0; blr 39 mfdcr r3,0; blr