ieee1394: replace a GFP_ATOMIC by GFP_KERNEL allocation
Stefan Richter [Wed, 26 Nov 2008 00:34:55 +0000 (01:34 +0100)]
All callers of hpsb_register_addrspace() can sleep.

Signed-off-by: Stefan Richter <stefanr@s5r6.in-berlin.de>

drivers/ieee1394/highlevel.c

index 272543a..6cc26ed 100644 (file)
@@ -420,7 +420,7 @@ int hpsb_register_addrspace(struct hpsb_highlevel *hl, struct hpsb_host *host,
                return 0;
        }
 
-       as = kmalloc(sizeof(*as), GFP_ATOMIC);
+       as = kmalloc(sizeof(*as), GFP_KERNEL);
        if (!as)
                return 0;