projects
/
cascardo
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge tag 'powerpc-4.9-2' of git://git.kernel.org/pub/scm/linux/kernel/git/powerpc...
[cascardo/linux.git]
/
arch
/
powerpc
/
include
/
asm
/
reg.h
diff --git
a/arch/powerpc/include/asm/reg.h
b/arch/powerpc/include/asm/reg.h
index
2a62078
..
9cd4e8c
100644
(file)
--- a/
arch/powerpc/include/asm/reg.h
+++ b/
arch/powerpc/include/asm/reg.h
@@
-1250,6
+1250,8
@@
static inline void mtmsr_isync(unsigned long val)
: "r" ((unsigned long)(v)) \
: "memory")
#endif
+#define wrtspr(rn) asm volatile("mtspr " __stringify(rn) ",0" : \
+ : : "memory")
extern unsigned long msr_check_and_set(unsigned long bits);
extern bool strict_msr_control;