diff options
author | Ralf Baechle <ralf@linux-mips.org> | 1999-06-22 23:49:01 +0000 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 1999-06-22 23:49:01 +0000 |
commit | d221c44b7afefd8f77f8595af468dfacb3b21cc2 (patch) | |
tree | ef1c7aa4fe157c9f63be777cc6809f292da1f5d5 /include/asm-alpha/page.h | |
parent | 51d3b7814cdccef9188240fe0cbd8d97ff2c7470 (diff) |
Merge with Linux 2.3.8.
Diffstat (limited to 'include/asm-alpha/page.h')
-rw-r--r-- | include/asm-alpha/page.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/include/asm-alpha/page.h b/include/asm-alpha/page.h index c2d27951e..816219ce9 100644 --- a/include/asm-alpha/page.h +++ b/include/asm-alpha/page.h @@ -105,6 +105,15 @@ typedef unsigned long pgprot_t; #define __pgprot(x) (x) #endif /* STRICT_MM_TYPECHECKS */ + +#define BUG() \ +do { \ + printk("Kernel BUG at %s:%d!\n", __FILE__, __LINE__); \ + __asm__ __volatile__("call_pal 129 # bugchk"); \ +} while (1) + +#define PAGE_BUG(page) BUG() + #endif /* !ASSEMBLY */ /* to align the pointer to the (next) page boundary */ |