ARM: 7201/1: add EDAC atomic_scrub function
authorRob Herring <rob.herring@calxeda.com>
Fri, 9 Dec 2011 16:58:35 +0000 (17:58 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Sun, 11 Dec 2011 08:35:50 +0000 (08:35 +0000)
commit786a767465b12cb4c1a45421b12fbf6bff45b0ea
tree782492ca819b0176fca17e1be242f01bdf4afd65
parent8878a539ff19a43cf3729e7562cd528f490246ae
ARM: 7201/1: add EDAC atomic_scrub function

Add support for architecture specific EDAC atomic_scrub to ARM. Only ARMv6+
is implemented as ldrex/strex instructions are needed. Supporting EDAC on
ARMv5 or earlier is unlikely at this point anyway.

Signed-off-by: Rob Herring <rob.herring@calxeda.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/include/asm/edac.h [new file with mode: 0644]