]> git.michaelhowe.org Git - packages/o/openafs.git/commitdiff
STABLE14-linux-kernel-bug-macro-inline-20060117
authorDerrick Brashear <shadow@dementia.org>
Wed, 18 Jan 2006 02:22:19 +0000 (02:22 +0000)
committerDerrick Brashear <shadow@dementia.org>
Wed, 18 Jan 2006 02:22:19 +0000 (02:22 +0000)
force oops inline instead of calling bug, so we can printk

(cherry picked from commit 93efc4ae47cc942164c2dfee175df0760fbfca03)

src/rx/rx_kcommon.c

index 2247ee72ffdfbb4391876559e339a12567c21649..ab27366879deef37cf65980104b39fe0a77f78e5 100644 (file)
@@ -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