Trond Myklebust ([EMAIL PROTECTED]) wrote on 13 February 2001 10:56:
 >--- net/sunrpc/ping.c.orig    Tue Feb 13 10:47:20 2001
 >+++ net/sunrpc/ping.c Tue Feb 13 10:50:03 2001
                 ******

Oops, the BUG() call appears in xprt.c! Here's a patch that makes it
compile. Let's see if it runs...

--- linux/net/sunrpc/xprt.c.orig        Tue Feb 13 08:30:20 2001
+++ linux/net/sunrpc/xprt.c     Tue Feb 13 08:29:43 2001
@@ -81,6 +81,10 @@
 # define MIN(a, b)     ((a) < (b)? (a) : (b))
 #endif
 
+#ifndef BUG
+#define BUG() do { printk("kernel BUG at %s:%d!\n", __FILE__, __LINE__); *(int *)0=0; 
+} while (0)
+#endif
+
 /*
  * Local functions
  */
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Reply via email to