Revert "firewire: core: obsolete usage of GFP_ATOMIC at building node tree"
[platform/kernel/linux-rpi.git] / drivers / firewire / core-topology.c
index 88466b6..f40c815 100644 (file)
@@ -101,7 +101,7 @@ static struct fw_node *fw_node_create(u32 sid, int port_count, int color)
 {
        struct fw_node *node;
 
-       node = kzalloc(struct_size(node, ports, port_count), GFP_KERNEL);
+       node = kzalloc(struct_size(node, ports, port_count), GFP_ATOMIC);
        if (node == NULL)
                return NULL;