summaryrefslogtreecommitdiffstats
path: root/arch/powerpc/sysdev
diff options
context:
space:
mode:
authorBenjamin Herrenschmidt <benh@kernel.crashing.org>2007-12-21 15:39:22 +1100
committerJosh Boyer <jwboyer@linux.vnet.ibm.com>2007-12-23 13:12:11 -0600
commit0e6140a56f2878816ecf9db50f40133d25d987e4 (patch)
tree672b1af7086bcb712839756fb31f6d662525ab54 /arch/powerpc/sysdev
parent47c0bd1ae24c34e851cf0f2b02ef2a6847d7ae15 (diff)
[POWERPC] 4xx: Improve support for 4xx indirect DCRs
Accessing indirect DCRs is done via a pair of address/data DCRs. Such accesses are thus inherently racy, vs. interrupts, preemption and possibly SMP if 4xx SMP cores are ever used. This updates the mfdcri/mtdcri macros in dcr-native.h (which were so far unused) to use a spinlock. In addition, add some common definitions to a new dcr-regs.h file. Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org> Signed-off-by: Josh Boyer <jwboyer@linux.vnet.ibm.com>
Diffstat (limited to 'arch/powerpc/sysdev')
0 files changed, 0 insertions, 0 deletions