diff options
author | Arnd Bergmann <arnd@arndb.de> | 2015-11-25 17:32:18 +0100 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2015-12-15 09:41:34 +0100 |
commit | 2b749cb3a5153fc4c312e405ecca8a925e6632c8 (patch) | |
tree | fceffba126b41908a4a95ffeeb75c5d56b3afa00 /arch/arm/mach-realview/include/mach | |
parent | 38541bf48588d5350e45167510766f8bb6ba6582 (diff) | |
download | talos-op-linux-2b749cb3a5153fc4c312e405ecca8a925e6632c8.tar.gz talos-op-linux-2b749cb3a5153fc4c312e405ecca8a925e6632c8.zip |
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>
Diffstat (limited to 'arch/arm/mach-realview/include/mach')
-rw-r--r-- | arch/arm/mach-realview/include/mach/barriers.h | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/arch/arm/mach-realview/include/mach/barriers.h b/arch/arm/mach-realview/include/mach/barriers.h deleted file mode 100644 index 9a732195aa1c..000000000000 --- a/arch/arm/mach-realview/include/mach/barriers.h +++ /dev/null @@ -1,8 +0,0 @@ -/* - * Barriers redefined for RealView ARM11MPCore platforms with L220 cache - * controller to work around hardware errata causing the outer_sync() - * operation to deadlock the system. - */ -#define mb() dsb() -#define rmb() dsb() -#define wmb() mb() |