Thomas Gleixner | d2912cb | 2019-06-04 10:11:33 +0200 | [diff] [blame^] | 1 | /* SPDX-License-Identifier: GPL-2.0-only */ |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 2 | /* |
Russell King | 4baa992 | 2008-08-02 10:55:55 +0100 | [diff] [blame] | 3 | * arch/arm/include/asm/bugs.h |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 4 | * |
| 5 | * Copyright (C) 1995-2003 Russell King |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 6 | */ |
| 7 | #ifndef __ASM_BUGS_H |
| 8 | #define __ASM_BUGS_H |
| 9 | |
| 10 | extern void check_writebuffer_bugs(void); |
| 11 | |
Russell King | a5b9177 | 2018-05-10 12:55:58 +0100 | [diff] [blame] | 12 | #ifdef CONFIG_MMU |
| 13 | extern void check_bugs(void); |
Russell King | 2660216 | 2018-05-10 13:00:43 +0100 | [diff] [blame] | 14 | extern void check_other_bugs(void); |
Russell King | 002547b | 2006-06-20 20:46:52 +0100 | [diff] [blame] | 15 | #else |
| 16 | #define check_bugs() do { } while (0) |
Russell King | 2660216 | 2018-05-10 13:00:43 +0100 | [diff] [blame] | 17 | #define check_other_bugs() do { } while (0) |
Russell King | 002547b | 2006-06-20 20:46:52 +0100 | [diff] [blame] | 18 | #endif |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 19 | |
| 20 | #endif |