Files
android_kernel_xiaomi_sm8450/arch/tile/include/asm
Borislav Petkov b01aec9b2c EDAC: Cleanup atomic_scrub mess
So first of all, this atomic_scrub() function's naming is bad. It looks
like an atomic_t helper. Change it to edac_atomic_scrub().

The bigger problem is that this function is arch-specific and every new
arch which doesn't necessarily need that functionality still needs to
define it, otherwise EDAC doesn't compile.

So instead of doing that and including arch-specific headers, have each
arch define an EDAC_ATOMIC_SCRUB symbol which can be used in edac_mc.c
for ifdeffery. Much cleaner.

And we already are doing this with another symbol - EDAC_SUPPORT. This
is also much cleaner than having CONFIG_EDAC enumerate all the arches
which need/have EDAC support and drivers.

This way I can kill the useless edac.h header in tile too.

Acked-by: Ralf Baechle <ralf@linux-mips.org>
Acked-by: Michael Ellerman <mpe@ellerman.id.au>
Acked-by: Chris Metcalf <cmetcalf@ezchip.com>
Acked-by: Ingo Molnar <mingo@kernel.org>
Acked-by: Russell King <rmk+kernel@arm.linux.org.uk>
Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Cc: Doug Thompson <dougthompson@xmission.com>
Cc: linux-arm-kernel@lists.infradead.org
Cc: linux-edac@vger.kernel.org
Cc: linux-kernel@vger.kernel.org
Cc: linux-mips@linux-mips.org
Cc: linuxppc-dev@lists.ozlabs.org
Cc: "Maciej W. Rozycki" <macro@codesourcery.com>
Cc: Markos Chandras <markos.chandras@imgtec.com>
Cc: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
Cc: Paul Mackerras <paulus@samba.org>
Cc: "Steven J. Hill" <Steven.Hill@imgtec.com>
Cc: x86@kernel.org
Signed-off-by: Borislav Petkov <bp@suse.de>
2015-05-28 15:31:53 +02:00
..
2014-04-18 14:20:45 +02:00
2014-04-18 14:20:45 +02:00
2014-04-18 14:20:45 +02:00
2014-04-18 14:20:45 +02:00
2014-04-18 14:20:45 +02:00
2014-04-18 14:20:45 +02:00
2013-09-03 14:53:29 -04:00
2014-01-23 16:36:54 -08:00
2013-11-13 20:21:46 +01:00
2012-03-20 21:48:30 +08:00
2013-09-03 14:53:29 -04:00
2015-04-17 12:58:44 -04:00
2014-05-16 14:05:21 +02:00
2014-08-26 13:45:54 -04:00
2015-04-17 12:58:44 -04:00
2013-08-30 11:55:53 -04:00
2012-05-25 12:48:25 -04:00
2013-09-03 14:51:26 -04:00
2012-07-24 15:27:32 +08:00
2013-08-30 11:55:53 -04:00
2014-08-26 13:45:54 -04:00
2013-08-13 16:26:21 -04:00
2013-09-13 11:15:24 -04:00
2013-08-12 14:46:18 -04:00
2015-04-17 12:58:44 -04:00
2012-03-28 18:30:03 +01:00
2013-09-03 14:53:29 -04:00
2013-08-13 16:26:05 -04:00
2013-02-14 09:21:15 -05:00
2014-10-02 13:56:07 -04:00