summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorRalf Baechle <ralf@linux-mips.org>2001-03-11 00:46:36 +0000
committerRalf Baechle <ralf@linux-mips.org>2001-03-11 00:46:36 +0000
commit9d6ed9d42546104580879732ffc8795ad515a341 (patch)
tree009bb46a49b9f5a9e95cbbb46511be96e5ee4e71 /drivers
parent05dbfd22e5a5bab4e8eba347ec4ac87ab36ef3ac (diff)
Kludge: Use GFP_ATOMIC for ring allocations.
Diffstat (limited to 'drivers')
-rw-r--r--drivers/net/ioc3-eth.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/ioc3-eth.c b/drivers/net/ioc3-eth.c
index 0efc08c70..ba6fe0fde 100644
--- a/drivers/net/ioc3-eth.c
+++ b/drivers/net/ioc3-eth.c
@@ -712,7 +712,7 @@ ioc3_alloc_rings(struct net_device *dev, struct ioc3_private *ip,
if (ip->rxr == NULL) {
/* Allocate and initialize rx ring. 4kb = 512 entries */
- ip->rxr = (unsigned long *) get_free_page(GFP_KERNEL);
+ ip->rxr = (unsigned long *) get_free_page(GFP_ATOMIC);
rxr = (unsigned long *) ip->rxr;
if (!rxr)
printk("ioc3_alloc_rings(): get_free_page() failed!\n");