diff options
author | Linus Torvalds <torvalds@g5.osdl.org> | 2006-06-28 16:20:49 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-06-28 16:20:49 -0700 |
commit | 27d68a36c4f1ca2fc6be82620843493462c08c51 (patch) | |
tree | a06b451e19c25a77595c918ca81bbb30f0ec9ebf /include/asm-arm/bugs.h | |
parent | 76a22271fd14e3fe7660f8646db12f0780fa4fd2 (diff) | |
parent | 583e7f5d36547f0d84caf71d43b71f0530a47766 (diff) | |
download | blackbird-op-linux-27d68a36c4f1ca2fc6be82620843493462c08c51.tar.gz blackbird-op-linux-27d68a36c4f1ca2fc6be82620843493462c08c51.zip |
Merge branch 'nommu' of master.kernel.org:/home/rmk/linux-2.6-arm
* 'nommu' of master.kernel.org:/home/rmk/linux-2.6-arm:
[ARM] nommu: backtrace code must not reference a discarded section
[ARM] nommu: Initial uCLinux support for MMU-based CPUs
[ARM] nommu: prevent Xscale-based machines being selected
[ARM] nommu: export flush_dcache_page()
[ARM] nommu: remove fault-armv, mmap and mm-armv files from nommu build
[ARM] Remove TABLE_SIZE, and several unused function prototypes
[ARM] nommu: Provide a simple flush_dcache_page implementation
[ARM] nommu: add arch/arm/Kconfig-nommu to Kconfig files
[ARM] nommu: add stubs for ioremap and friends
[ARM] nommu: avoid selecting TLB and CPU specific copy code
[ARM] nommu: uaccess tweaks
[ARM] nommu: adjust headers for !MMU ARM systems
[ARM] nommu: we need the TLS register emulation for nommu mode
Diffstat (limited to 'include/asm-arm/bugs.h')
-rw-r--r-- | include/asm-arm/bugs.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/asm-arm/bugs.h b/include/asm-arm/bugs.h index 4c80ec519d45..ca54eb0f12d7 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 |