From: Stefan Richter Date: Wed, 26 Nov 2008 00:34:55 +0000 (+0100) Subject: ieee1394: replace a GFP_ATOMIC by GFP_KERNEL allocation X-Git-Tag: v2.6.29-rc1~187^2~18 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=adb0a61681224340271bb2c2e1a060434b76ec06;p=karo-tx-linux.git ieee1394: replace a GFP_ATOMIC by GFP_KERNEL allocation All callers of hpsb_register_addrspace() can sleep. Signed-off-by: Stefan Richter --- diff --git a/drivers/ieee1394/highlevel.c b/drivers/ieee1394/highlevel.c index 272543a42a43..6cc26edcbd8b 100644 --- a/drivers/ieee1394/highlevel.c +++ b/drivers/ieee1394/highlevel.c @@ -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;