aboutsummaryrefslogtreecommitdiff
path: root/include/asm-arm/bugs.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/asm-arm/bugs.h')
-rw-r--r--include/asm-arm/bugs.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/asm-arm/bugs.h b/include/asm-arm/bugs.h
index 4c80ec519d4..ca54eb0f12d 100644
--- a/include/asm-arm/bugs.h
+++ b/include/asm-arm/bugs.h
@@ -10,8 +10,12 @@
#ifndef __ASM_BUGS_H
#define __ASM_BUGS_H
+#ifdef CONFIG_MMU
extern void check_writebuffer_bugs(void);
#define check_bugs() check_writebuffer_bugs()
+#else
+#define check_bugs() do { } while (0)
+#endif
#endif