aboutsummaryrefslogtreecommitdiffstats
path: root/xen/include/asm-x86/bug.h
diff options
context:
space:
mode:
authorkfraser@localhost.localdomain <kfraser@localhost.localdomain>2007-03-27 15:53:45 +0100
committerkfraser@localhost.localdomain <kfraser@localhost.localdomain>2007-03-27 15:53:45 +0100
commit9726237543394a5cf7b96bd76a9ccdcbe075e7e6 (patch)
tree0380f065e34e2fa90a683c8eec976f9fbeb24fdf /xen/include/asm-x86/bug.h
parentaacef84b337c59c447472f9102f270e3887254cd (diff)
downloadxen-9726237543394a5cf7b96bd76a9ccdcbe075e7e6.tar.gz
xen-9726237543394a5cf7b96bd76a9ccdcbe075e7e6.tar.bz2
xen-9726237543394a5cf7b96bd76a9ccdcbe075e7e6.zip
Add WARN() and generic WARN_ON().
Based on a patch by Jan Beulich <jbeulich@novell.com> Signed-off-by: Keir Fraser <keir@xensource.com>
Diffstat (limited to 'xen/include/asm-x86/bug.h')
-rw-r--r--xen/include/asm-x86/bug.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/xen/include/asm-x86/bug.h b/xen/include/asm-x86/bug.h
index d09e3ea7a0..975576185c 100644
--- a/xen/include/asm-x86/bug.h
+++ b/xen/include/asm-x86/bug.h
@@ -14,8 +14,8 @@ struct bug_frame {
} __attribute__((packed));
#define BUGFRAME_dump 0
-#define BUGFRAME_bug 1
-#define BUGFRAME_assert 2
-#define BUGFRAME_rsvd 3
+#define BUGFRAME_warn 1
+#define BUGFRAME_bug 2
+#define BUGFRAME_assert 3
#endif /* __X86_BUG_H__ */