[SCSI] advansys: undate version, copyright, etc
[linux-2.6/linux-acpi-2.6/ibm-acpi-2.6.git] / include / asm-alpha / bug.h
blob39a3e2a5017dba4dcd89e094a48ccbb94e065294
1 #ifndef _ALPHA_BUG_H
2 #define _ALPHA_BUG_H
4 #ifdef CONFIG_BUG
5 #include <asm/pal.h>
7 /* ??? Would be nice to use .gprel32 here, but we can't be sure that the
8 function loaded the GP, so this could fail in modules. */
9 #define BUG() \
10 __asm__ __volatile__("call_pal %0 # bugchk\n\t"".long %1\n\t.8byte %2" \
11 : : "i" (PAL_bugchk), "i"(__LINE__), "i"(__FILE__))
13 #define HAVE_ARCH_BUG
14 #endif
16 #include <asm-generic/bug.h>
18 #endif