ARM: realview: remove private barrier implementation
authorArnd Bergmann <arnd@arndb.de>
Wed, 25 Nov 2015 16:32:18 +0000 (17:32 +0100)
committerLinus Walleij <linus.walleij@linaro.org>
Tue, 15 Dec 2015 08:41:34 +0000 (09:41 +0100)
commit2b749cb3a5153fc4c312e405ecca8a925e6632c8
treefceffba126b41908a4a95ffeeb75c5d56b3afa00
parent38541bf48588d5350e45167510766f8bb6ba6582
ARM: realview: remove private barrier implementation

The realview barrier implementation tries to avoid calling outer_sync in order
to not lock up as a result of a bug in the l220 cache controller.

This gets in the way of the multiplatform support, but we can still remove
it if we make sure that the outer_sync function never gets called, by replacing
the function pointer with NULL, right after initialization.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
[Fixed up header inclusions]
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
arch/arm/mach-realview/Kconfig
arch/arm/mach-realview/include/mach/barriers.h [deleted file]
arch/arm/mach-realview/realview_eb.c
arch/arm/mach-realview/realview_pb11mp.c