From: Derrick Brashear Date: Wed, 18 Jan 2006 02:21:00 +0000 (+0000) Subject: linux-kernel-bug-macro-inline-20060117 X-Git-Tag: openafs-devel-1_5_0~94 X-Git-Url: https://git.michaelhowe.org/gitweb/?a=commitdiff_plain;h=93efc4ae47cc942164c2dfee175df0760fbfca03;p=packages%2Fo%2Fopenafs.git linux-kernel-bug-macro-inline-20060117 force oops inline instead of calling bug, so we can printk --- diff --git a/src/rx/rx_kcommon.c b/src/rx/rx_kcommon.c index 2247ee72f..ab2736687 100644 --- a/src/rx/rx_kcommon.c +++ b/src/rx/rx_kcommon.c @@ -133,7 +133,8 @@ osi_Panic(msg, a1, a2, a3) dpf((msg, a1, a2, a3)); #ifdef AFS_LINUX24_ENV - BUG(); + printk("AFS BUG at %s\n", msg); + * ((char *) 0) = 0; #else panic(msg); #endif