summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorRussell King <rmk@flint.arm.linux.org.uk>2003-09-17 00:31:42 +0100
committerRussell King <rmk@flint.arm.linux.org.uk>2003-09-17 00:31:42 +0100
commit04e8f7d2044d77d3dbb17fc15bba546008369997 (patch)
tree7779096ceac7a19ead28d0ec6764d5a925d0159b /include
parent295864f7b9d3ddf461b29bd25e28baedecea112b (diff)
[ARM] Detect and fix up CPUs with non-coherent write buffers.
Jamie Lokier's cache testing program discovered a problem which seems to be present in some CPU write buffers. This cset allows the kernel to detect the flaw and activate a workaround to restore the user space expectations.
Diffstat (limited to 'include')
-rw-r--r--include/asm-arm/bugs.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/include/asm-arm/bugs.h b/include/asm-arm/bugs.h
index adae0482000d..4c80ec519d45 100644
--- a/include/asm-arm/bugs.h
+++ b/include/asm-arm/bugs.h
@@ -10,6 +10,8 @@
#ifndef __ASM_BUGS_H
#define __ASM_BUGS_H
-#define check_bugs() do { } while (0)
+extern void check_writebuffer_bugs(void);
+
+#define check_bugs() check_writebuffer_bugs()
#endif