Re: 2.2.19pre10 doesn't compile on alphas (sunrpc)

From: Carlos Carvalho (carlos@fisica.ufpr.br)
Date: Tue Feb 13 2001 - 05:33:48 EST


Trond Myklebust (trond.myklebust@fys.uio.no) 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 majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Thu Feb 15 2001 - 21:00:21 EST