/* MN10300 Kernel bug reporting1*2* Copyright (C) 2007 Red Hat, Inc. All Rights Reserved.3* Written by David Howells ([email protected])4*5* This program is free software; you can redistribute it and/or6* modify it under the terms of the GNU General Public Licence7* as published by the Free Software Foundation; either version8* 2 of the Licence, or (at your option) any later version.9*/10#ifndef _ASM_BUG_H11#define _ASM_BUG_H1213#ifdef CONFIG_BUG1415/*16* Tell the user there is some problem.17*/18#define BUG() \19do { \20asm volatile( \21" syscall 15 \n" \22"0: \n" \23" .section __bug_table,\"a\" \n" \24" .long 0b,%0,%1 \n" \25" .previous \n" \26: \27: "i"(__FILE__), "i"(__LINE__) \28); \29} while (1)3031#define HAVE_ARCH_BUG32#endif /* CONFIG_BUG */3334#include <asm-generic/bug.h>3536#endif /* _ASM_BUG_H */373839