diff options
author | kfraser@localhost.localdomain <kfraser@localhost.localdomain> | 2007-03-27 15:53:45 +0100 |
---|---|---|
committer | kfraser@localhost.localdomain <kfraser@localhost.localdomain> | 2007-03-27 15:53:45 +0100 |
commit | 9726237543394a5cf7b96bd76a9ccdcbe075e7e6 (patch) | |
tree | 0380f065e34e2fa90a683c8eec976f9fbeb24fdf /xen/include/asm-x86/bug.h | |
parent | aacef84b337c59c447472f9102f270e3887254cd (diff) | |
download | xen-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.h | 6 |
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__ */ |