From: Benjamin Herrenschmidt Date: Fri, 9 Jul 2010 05:21:41 +0000 (+1000) Subject: powerpc/book3e: mtmsr should not be mtmsrd on book3e 64-bit X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=0866eb99cc4d5951cb0ed6ddfa92d5a3d55216ae;p=linux-beck.git powerpc/book3e: mtmsr should not be mtmsrd on book3e 64-bit Signed-off-by: Benjamin Herrenschmidt --- 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)