-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
m68k: merge the mmu and non-mmu versions of bug.h
Trivial merge of the mmu and non-mmu versions of bug.h Signed-off-by: Greg Ungerer <gerg@uclinux.org> Acked-by: Geert Uytterhoeven <geert@linux-m68k.org>
- Loading branch information
Greg Ungerer
committed
Mar 24, 2009
1 parent
b0ffbf2
commit dbc367e
Showing
3 changed files
with
28 additions
and
36 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,30 @@ | ||
#ifdef __uClinux__ | ||
#include "bug_no.h" | ||
#ifndef _M68K_BUG_H | ||
#define _M68K_BUG_H | ||
|
||
#ifdef CONFIG_MMU | ||
#ifdef CONFIG_BUG | ||
#ifdef CONFIG_DEBUG_BUGVERBOSE | ||
#ifndef CONFIG_SUN3 | ||
#define BUG() do { \ | ||
printk("kernel BUG at %s:%d!\n", __FILE__, __LINE__); \ | ||
__builtin_trap(); \ | ||
} while (0) | ||
#else | ||
#include "bug_mm.h" | ||
#define BUG() do { \ | ||
printk("kernel BUG at %s:%d!\n", __FILE__, __LINE__); \ | ||
panic("BUG!"); \ | ||
} while (0) | ||
#endif | ||
#else | ||
#define BUG() do { \ | ||
__builtin_trap(); \ | ||
} while (0) | ||
#endif | ||
|
||
#define HAVE_ARCH_BUG | ||
#endif | ||
#endif /* CONFIG_MMU */ | ||
|
||
#include <asm-generic/bug.h> | ||
|
||
#endif |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.