aboutsummaryrefslogtreecommitdiffstats
path: root/arch/powerpc/include/asm/reg_booke.h
diff options
context:
space:
mode:
Diffstat (limited to 'arch/powerpc/include/asm/reg_booke.h')
-rw-r--r--arch/powerpc/include/asm/reg_booke.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/arch/powerpc/include/asm/reg_booke.h b/arch/powerpc/include/asm/reg_booke.h
index b417de3cc2c4..ed8f836da094 100644
--- a/arch/powerpc/include/asm/reg_booke.h
+++ b/arch/powerpc/include/asm/reg_booke.h
@@ -29,10 +29,10 @@
29#if defined(CONFIG_PPC_BOOK3E_64) 29#if defined(CONFIG_PPC_BOOK3E_64)
30#define MSR_64BIT MSR_CM 30#define MSR_64BIT MSR_CM
31 31
32#define MSR_ MSR_ME | MSR_CE 32#define MSR_ (MSR_ME | MSR_CE)
33#define MSR_KERNEL MSR_ | MSR_64BIT 33#define MSR_KERNEL (MSR_ | MSR_64BIT)
34#define MSR_USER32 MSR_ | MSR_PR | MSR_EE 34#define MSR_USER32 (MSR_ | MSR_PR | MSR_EE)
35#define MSR_USER64 MSR_USER32 | MSR_64BIT 35#define MSR_USER64 (MSR_USER32 | MSR_64BIT)
36#elif defined (CONFIG_40x) 36#elif defined (CONFIG_40x)
37#define MSR_KERNEL (MSR_ME|MSR_RI|MSR_IR|MSR_DR|MSR_CE) 37#define MSR_KERNEL (MSR_ME|MSR_RI|MSR_IR|MSR_DR|MSR_CE)
38#define MSR_USER (MSR_KERNEL|MSR_PR|MSR_EE) 38#define MSR_USER (MSR_KERNEL|MSR_PR|MSR_EE)