--- zzzz-none-000/linux-2.4.17/include/asm-arm/page.h 2001-08-12 18:14:00.000000000 +0000 +++ sangam-fb-322/linux-2.4.17/include/asm-arm/page.h 2004-11-24 13:21:39.000000000 +0000 @@ -63,11 +63,21 @@ #ifndef __ASSEMBLY__ +#ifdef CONFIG_DEBUG_BUGVERBOSE extern void __bug(const char *file, int line, void *data); +/* give file/line information */ #define BUG() __bug(__FILE__, __LINE__, NULL) #define PAGE_BUG(page) __bug(__FILE__, __LINE__, page) +#else + +/* these just cause an oops */ +#define BUG() (*(int *)0 = 0) +#define PAGE_BUG(page) (*(int *)0 = 0) + +#endif + /* Pure 2^n version of get_order */ static inline int get_order(unsigned long size) {