sched: fix OOPS when build_sched_domains percpu allocation fails
BZ:30950
Under extreme memory used up situation, percpu allocation
might fails. We hit it when waking up system from suspend-to-ram.
Change-Id: I846f463a9d4af9801e7ac2da3a3d0daf7bcc6e82
Signed-off-by: Yanmin Zhang <yanmin.zhang@intel.com>
Signed-off-by: he, bo <bo.he@intel.com>
Reviewed-on: http://android.intel.com:8080/43977
Reviewed-by: Liu, ShuoX <shuox.liu@intel.com>
Reviewed-by: Hogander, Jouni <jouni.hogander@intel.com>
Reviewed-by: Gross, Mark <mark.gross@intel.com>
Reviewed-by: Mansoor, Illyas <illyas.mansoor@intel.com>
Reviewed-by: Yang, Fei <fei.yang@intel.com>
Tested-by: Ng, Cheon-woei <cheon-woei.ng@intel.com>
Reviewed-by: buildbot <buildbot@intel.com>
Tested-by: buildbot <buildbot@intel.com>