aboutsummaryrefslogtreecommitdiff
path: root/include/asm-i386/bug.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/asm-i386/bug.h')
-rw-r--r--include/asm-i386/bug.h26
1 files changed, 0 insertions, 26 deletions
diff --git a/include/asm-i386/bug.h b/include/asm-i386/bug.h
deleted file mode 100644
index 8f79de19eb9..00000000000
--- a/include/asm-i386/bug.h
+++ /dev/null
@@ -1,26 +0,0 @@
-#ifndef _I386_BUG_H
-#define _I386_BUG_H
-
-#include <linux/config.h>
-
-/*
- * Tell the user there is some problem.
- * The offending file and line are encoded after the "officially
- * undefined" opcode for parsing in the trap handler.
- */
-
-#ifdef CONFIG_BUG
-#define HAVE_ARCH_BUG
-#ifdef CONFIG_DEBUG_BUGVERBOSE
-#define BUG() \
- __asm__ __volatile__( "ud2\n" \
- "\t.word %c0\n" \
- "\t.long %c1\n" \
- : : "i" (__LINE__), "i" (__FILE__))
-#else
-#define BUG() __asm__ __volatile__("ud2\n")
-#endif
-#endif
-
-#include <asm-generic/bug.h>
-#endif