thermal: remove driver_data direct access of struct device
[linux-2.6/linux-acpi-2.6/ibm-acpi-2.6.git] / arch / ia64 / include / asm / bug.h
blob823616b5020b366ba5b20e06529d0095748e7477
1 #ifndef _ASM_IA64_BUG_H
2 #define _ASM_IA64_BUG_H
4 #ifdef CONFIG_BUG
5 #define ia64_abort() __builtin_trap()
6 #define BUG() do { printk("kernel BUG at %s:%d!\n", __FILE__, __LINE__); ia64_abort(); } while (0)
8 /* should this BUG be made generic? */
9 #define HAVE_ARCH_BUG
10 #endif
12 #include <asm-generic/bug.h>
14 #endif