aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/ieee1394
diff options
context:
space:
mode:
authorStefan Richter <stefanr@s5r6.in-berlin.de>2008-11-25 19:34:55 -0500
committerStefan Richter <stefanr@s5r6.in-berlin.de>2009-01-04 17:50:32 -0500
commitadb0a61681224340271bb2c2e1a060434b76ec06 (patch)
treec0c71c558add3e3fdab1810c162fed5b63342f45 /drivers/ieee1394
parent4a6908a3a050aacc9c3a2f36b276b46c0629ad91 (diff)
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>
Diffstat (limited to 'drivers/ieee1394')
-rw-r--r--drivers/ieee1394/highlevel.c2
1 files changed, 1 insertions, 1 deletions
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,
420 return 0; 420 return 0;
421 } 421 }
422 422
423 as = kmalloc(sizeof(*as), GFP_ATOMIC); 423 as = kmalloc(sizeof(*as), GFP_KERNEL);
424 if (!as) 424 if (!as)
425 return 0; 425 return 0;
426 426