blob: 97a312ba08401f9a9b88d6037ca33d2d404aa39b [file] [log] [blame]
Thomas Gleixnerd2912cb2019-06-04 10:11:33 +02001/* SPDX-License-Identifier: GPL-2.0-only */
Linus Torvalds1da177e2005-04-16 15:20:36 -07002/*
Russell King4baa9922008-08-02 10:55:55 +01003 * arch/arm/include/asm/bugs.h
Linus Torvalds1da177e2005-04-16 15:20:36 -07004 *
5 * Copyright (C) 1995-2003 Russell King
Linus Torvalds1da177e2005-04-16 15:20:36 -07006 */
7#ifndef __ASM_BUGS_H
8#define __ASM_BUGS_H
9
10extern void check_writebuffer_bugs(void);
11
Russell Kinga5b91772018-05-10 12:55:58 +010012#ifdef CONFIG_MMU
13extern void check_bugs(void);
Russell King26602162018-05-10 13:00:43 +010014extern void check_other_bugs(void);
Russell King002547b2006-06-20 20:46:52 +010015#else
16#define check_bugs() do { } while (0)
Russell King26602162018-05-10 13:00:43 +010017#define check_other_bugs() do { } while (0)
Russell King002547b2006-06-20 20:46:52 +010018#endif
Linus Torvalds1da177e2005-04-16 15:20:36 -070019
20#endif