blob: a97f1ea708d19f339649a2ece287a69a5fe32a40 [file] [log] [blame]
Linus Torvalds1da177e2005-04-16 15:20:36 -07001/*
Russell King4baa9922008-08-02 10:55:55 +01002 * arch/arm/include/asm/bugs.h
Linus Torvalds1da177e2005-04-16 15:20:36 -07003 *
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 King002547b2006-06-20 20:46:52 +010013#ifdef CONFIG_MMU
Linus Torvalds1da177e2005-04-16 15:20:36 -070014extern void check_writebuffer_bugs(void);
15
16#define check_bugs() check_writebuffer_bugs()
Russell King002547b2006-06-20 20:46:52 +010017#else
18#define check_bugs() do { } while (0)
19#endif
Linus Torvalds1da177e2005-04-16 15:20:36 -070020
21#endif