V4L/DVB (10069): Add ov7725 support to ov772x driver
[pandora-kernel.git] / kernel / resource.c
index 6aac5c6..4337063 100644 (file)
@@ -523,7 +523,7 @@ static void __init __reserve_region_with_split(struct resource *root,
 {
        struct resource *parent = root;
        struct resource *conflict;
-       struct resource *res = kzalloc(sizeof(*res), GFP_KERNEL);
+       struct resource *res = kzalloc(sizeof(*res), GFP_ATOMIC);
 
        if (!res)
                return;