[Linux1394-cvslog] rev 640 - trunk
Brought to you by:
aeb,
bencollins
From: SVN U. <ben...@li...> - 2002-10-22 13:50:34
|
Author: bencollins Date: 2002-10-22 09:50:27 -0400 (Tue, 22 Oct 2002) New Revision: 640 Modified: trunk/nodemgr.c Log: Call kmalloc with ATOMIC in addhost. Everywhere in knodemgrd can use GFP_KERNEL though. Modified: trunk/nodemgr.c ============================================================================== --- trunk/nodemgr.c (original) +++ trunk/nodemgr.c 2002-10-22 09:50:27.000000000 -0400 @@ -344,7 +344,7 @@ return NULL; } } - ne = kmalloc(total_size, SLAB_ATOMIC); + ne = kmalloc(total_size, GFP_KERNEL); if (!ne) return NULL; @@ -1323,7 +1323,7 @@ static void nodemgr_add_host(struct hpsb_host *host) { - struct host_info *hi = kmalloc (sizeof (struct host_info), GFP_KERNEL); + struct host_info *hi = kmalloc (sizeof (struct host_info), GFP_ATOMIC); unsigned long flags; if (!hi) { |