drm: bridge: analogix/dp: Fix the dead lock when disable bridge
[firefly-linux-kernel-4.4.55.git] / block / cfq-iosched.c
index 3ad307ee602903e94b500008001359bc40bfebe8..e04a7b8492cf20485ca3424243a51866dd66723a 100644 (file)
@@ -1572,7 +1572,7 @@ static struct blkcg_policy_data *cfq_cpd_alloc(gfp_t gfp)
 {
        struct cfq_group_data *cgd;
 
-       cgd = kzalloc(sizeof(*cgd), GFP_KERNEL);
+       cgd = kzalloc(sizeof(*cgd), gfp);
        if (!cgd)
                return NULL;
        return &cgd->cpd;