Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 1 | /* |
Russell King | 4baa992 | 2008-08-02 10:55:55 +0100 | [diff] [blame] | 2 | * arch/arm/include/asm/bugs.h |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 3 | * |
| 4 | * Copyright (C) 1995-2003 Russell King |
| 5 | * |
| 6 | * This program is free software; you can redistribute it and/or modify |
| 7 | * it under the terms of the GNU General Public License version 2 as |
| 8 | * published by the Free Software Foundation. |
| 9 | */ |
| 10 | #ifndef __ASM_BUGS_H |
| 11 | #define __ASM_BUGS_H |
| 12 | |
Russell King | 002547b | 2006-06-20 20:46:52 +0100 | [diff] [blame] | 13 | #ifdef CONFIG_MMU |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 14 | extern void check_writebuffer_bugs(void); |
| 15 | |
| 16 | #define check_bugs() check_writebuffer_bugs() |
Russell King | 002547b | 2006-06-20 20:46:52 +0100 | [diff] [blame] | 17 | #else |
| 18 | #define check_bugs() do { } while (0) |
| 19 | #endif |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 20 | |
| 21 | #endif |