From cb5fd13f1178dee4302646b2890d884c380160e1 Mon Sep 17 00:00:00 2001 From: Yong Zhang Date: Mon, 14 Sep 2009 20:20:16 +0800 Subject: [PATCH] sched: Fix potential NULL derference of doms_cur If CONFIG_CPUMASK_OFFSTACK is enabled but doms_cur alloc failed in arch_init_sched_domains(), doms_cur will move back to fallback_doms. But this time, fallback_doms has not been initialized yet. Signed-off-by: Yong Zhang Cc: a.p.zijlstra@chello.nl LKML-Reference: <1252930816-7672-1-git-send-email-yong.zhang0@gmail.com> Signed-off-by: Ingo Molnar --- Reading git-format-patch failed