projects
/
deliverable
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge remote-tracking branches 'spi/fix/ep93xx', 'spi/fix/rockchip', 'spi/fix/sunxi...
[deliverable/linux.git]
/
arch
/
powerpc
/
boot
/
dcr.h
diff --git
a/arch/powerpc/boot/dcr.h
b/arch/powerpc/boot/dcr.h
index cc73f7a95e26c488b5afabc1b6691d9f7456920a..bf8f4ede192851249bbc6b1a2b0114072ead5d3f 100644
(file)
--- a/
arch/powerpc/boot/dcr.h
+++ b/
arch/powerpc/boot/dcr.h
@@
-15,6
+15,10
@@
asm volatile("mfdcrx %0,%1" : "=r"(rval) : "r"(rn)); \
rval; \
})
+#define mtdcrx(rn, val) \
+ ({ \
+ asm volatile("mtdcrx %0,%1" : : "r"(rn), "r" (val)); \
+ })
/* 440GP/440GX SDRAM controller DCRs */
#define DCRN_SDRAM0_CFGADDR 0x010
This page took
0.026301 seconds
and
5
git commands to generate.