diff options
Diffstat (limited to 'arch/x86_64/kernel/traps.c')
| -rw-r--r-- | arch/x86_64/kernel/traps.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/x86_64/kernel/traps.c b/arch/x86_64/kernel/traps.c index 65a37f52c56e..3dfec8fdabcd 100644 --- a/arch/x86_64/kernel/traps.c +++ b/arch/x86_64/kernel/traps.c | |||
| @@ -332,10 +332,12 @@ void handle_BUG(struct pt_regs *regs) | |||
| 332 | printk(KERN_ALERT "Kernel BUG at %.50s:%d\n", f.filename, f.line); | 332 | printk(KERN_ALERT "Kernel BUG at %.50s:%d\n", f.filename, f.line); |
| 333 | } | 333 | } |
| 334 | 334 | ||
| 335 | #ifdef CONFIG_BUG | ||
| 335 | void out_of_line_bug(void) | 336 | void out_of_line_bug(void) |
| 336 | { | 337 | { |
| 337 | BUG(); | 338 | BUG(); |
| 338 | } | 339 | } |
| 340 | #endif | ||
| 339 | 341 | ||
| 340 | static DEFINE_SPINLOCK(die_lock); | 342 | static DEFINE_SPINLOCK(die_lock); |
| 341 | static int die_owner = -1; | 343 | static int die_owner = -1; |
