瀏覽代碼

ieee1394: replace a GFP_ATOMIC by GFP_KERNEL allocation

All callers of hpsb_register_addrspace() can sleep.

Signed-off-by: Stefan Richter <stefanr@s5r6.in-berlin.de>
Stefan Richter 16 年之前
父節點
當前提交
adb0a61681
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      drivers/ieee1394/highlevel.c

+ 1 - 1
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;