Commit 283f29a5 authored by Jody McIntyre's avatar Jody McIntyre

Dan Dennedy: change allocation to GPF_ATOMIC to fix timing issue when this

is called from raw1394.c:arm_register().
Signed-off-by: default avatarJody McIntyre <scjody@modernduck.com>
parent 99426014
...@@ -384,7 +384,7 @@ int hpsb_register_addrspace(struct hpsb_highlevel *hl, struct hpsb_host *host, ...@@ -384,7 +384,7 @@ int hpsb_register_addrspace(struct hpsb_highlevel *hl, struct hpsb_host *host,
} }
as = (struct hpsb_address_serve *) as = (struct hpsb_address_serve *)
kmalloc(sizeof(struct hpsb_address_serve), GFP_KERNEL); kmalloc(sizeof(struct hpsb_address_serve), GFP_ATOMIC);
if (as == NULL) { if (as == NULL) {
return 0; return 0;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment