diff options
author | Benjamin Herrenschmidt <benh@kernel.crashing.org> | 2010-07-09 15:21:41 +1000 |
---|---|---|
committer | Benjamin Herrenschmidt <benh@kernel.crashing.org> | 2010-07-09 15:21:41 +1000 |
commit | 0866eb99cc4d5951cb0ed6ddfa92d5a3d55216ae (patch) | |
tree | bd783e7f455207fdb0e6b53eae4f875824ab25e5 /arch/powerpc/include/asm/reg.h | |
parent | cccd23428347251713b643d4bc5edb610308fd49 (diff) | |
download | blackbird-op-linux-0866eb99cc4d5951cb0ed6ddfa92d5a3d55216ae.tar.gz blackbird-op-linux-0866eb99cc4d5951cb0ed6ddfa92d5a3d55216ae.zip |
powerpc/book3e: mtmsr should not be mtmsrd on book3e 64-bit
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Diffstat (limited to 'arch/powerpc/include/asm/reg.h')
-rw-r--r-- | arch/powerpc/include/asm/reg.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/powerpc/include/asm/reg.h b/arch/powerpc/include/asm/reg.h index d62fdf4e504b..d8be016d2ede 100644 --- a/arch/powerpc/include/asm/reg.h +++ b/arch/powerpc/include/asm/reg.h @@ -890,7 +890,7 @@ #ifndef __ASSEMBLY__ #define mfmsr() ({unsigned long rval; \ asm volatile("mfmsr %0" : "=r" (rval)); rval;}) -#ifdef CONFIG_PPC64 +#ifdef CONFIG_PPC_BOOK3S_64 #define __mtmsrd(v, l) asm volatile("mtmsrd %0," __stringify(l) \ : : "r" (v) : "memory") #define mtmsrd(v) __mtmsrd((v), 0) |