patch-2.1.34 linux/include/net/ipv6.h
Next file: linux/include/net/neighbour.h
Previous file: linux/include/net/dst.h
Back to the patch index
Back to the overall index
- Lines: 26
- Date:
Mon Apr 14 11:45:34 1997
- Orig file:
v2.1.33/linux/include/net/ipv6.h
- Orig date:
Thu Mar 27 14:40:11 1997
diff -u --recursive --new-file v2.1.33/linux/include/net/ipv6.h linux/include/net/ipv6.h
@@ -4,7 +4,7 @@
* Authors:
* Pedro Roque <roque@di.fc.ul.pt>
*
- * $Id: ipv6.h,v 1.5 1997/03/18 18:24:10 davem Exp $
+ * $Id: ipv6.h,v 1.6 1997/04/01 02:22:58 davem Exp $
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
@@ -16,6 +16,7 @@
#define _NET_IPV6_H
#include <linux/ipv6.h>
+#include <asm/hardirq.h>
#include <net/ndisc.h>
#include <net/flow.h>
@@ -199,7 +200,7 @@
extern __inline__ int gfp_any(void)
{
int pri = GFP_KERNEL;
- if (intr_count)
+ if (in_interrupt())
pri = GFP_ATOMIC;
return pri;
}
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov