projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cccd234
)
powerpc/book3e: mtmsr should not be mtmsrd on book3e 64-bit
author
Benjamin Herrenschmidt
<
[email protected]
>
Fri, 9 Jul 2010 05:21:41 +0000
(15:21 +1000)
committer
Benjamin Herrenschmidt
<
[email protected]
>
Fri, 9 Jul 2010 05:21:41 +0000
(15:21 +1000)
Signed-off-by: Benjamin Herrenschmidt <
[email protected]
>
arch/powerpc/include/asm/reg.h
patch
|
blob
|
history
diff --git
a/arch/powerpc/include/asm/reg.h
b/arch/powerpc/include/asm/reg.h
index d62fdf4e504bcd54fc2aff2f6e567858bf6c4b69..d8be016d2ede49e750ad68c478203afe7b45f9a7 100644
(file)
--- 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)