printk_foo -> printk(BIOS_FOO, ...)
Signed-off-by: Stefan Reinauer <stepan@coresystems.de> Acked-by: Ronald G. Minnich <rminnich@gmail.com> git-svn-id: svn://svn.coreboot.org/coreboot/trunk@5266 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
This commit is contained in:
committed by
Stefan Reinauer
parent
27852aba67
commit
c02b4fc9db
@ -48,13 +48,13 @@
|
||||
/* GCC and CAR versions */
|
||||
#define ASSERT(x) { \
|
||||
if (!(x)) { \
|
||||
printk_emerg("ASSERTION FAILED: file '%s', " \
|
||||
printk(BIOS_EMERG, "ASSERTION FAILED: file '%s', " \
|
||||
" line %d\n", __FILE__, __LINE__); \
|
||||
/* die(""); */ \
|
||||
} \
|
||||
}
|
||||
#define BUG() { \
|
||||
printk_emerg("BUG ENCOUNTERED: SYSTEM HALTED at file '%s', " \
|
||||
printk(BIOS_EMERG, "BUG ENCOUNTERED: SYSTEM HALTED at file '%s', " \
|
||||
" line %d\n", __FILE__, __LINE__); \
|
||||
/* die(""); */ \
|
||||
}
|
||||
|
Reference in New Issue
Block a user