diff options
author | Stefan Richter <stefanr@s5r6.in-berlin.de> | 2008-11-26 01:34:55 +0100 |
---|---|---|
committer | Stefan Richter <stefanr@s5r6.in-berlin.de> | 2009-01-04 23:50:32 +0100 |
commit | adb0a61681224340271bb2c2e1a060434b76ec06 (patch) | |
tree | c0c71c558add3e3fdab1810c162fed5b63342f45 /drivers/ieee1394 | |
parent | 4a6908a3a050aacc9c3a2f36b276b46c0629ad91 (diff) | |
download | linux-stable-adb0a61681224340271bb2c2e1a060434b76ec06.tar.gz linux-stable-adb0a61681224340271bb2c2e1a060434b76ec06.tar.bz2 linux-stable-adb0a61681224340271bb2c2e1a060434b76ec06.zip |
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.c | 2 |
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, return 0; } - as = kmalloc(sizeof(*as), GFP_ATOMIC); + as = kmalloc(sizeof(*as), GFP_KERNEL); if (!as) return 0; |