Revert "firewire: core: obsolete usage of GFP_ATOMIC at building node tree"
[platform/kernel/linux-rpi.git] / drivers / firewire / core-device.c
index a3104e3..aa597cd 100644 (file)
@@ -1211,7 +1211,7 @@ void fw_node_event(struct fw_card *card, struct fw_node *node, int event)
                 * without actually having a link.
                 */
  create:
-               device = kzalloc(sizeof(*device), GFP_KERNEL);
+               device = kzalloc(sizeof(*device), GFP_ATOMIC);
                if (device == NULL)
                        break;