ipc: fix sleep in atomic context during reboot
authorLi, Ning <ning.li@intel.com>
Thu, 3 May 2012 10:17:40 +0000 (18:17 +0800)
committerbuildbot <buildbot@intel.com>
Fri, 18 May 2012 02:42:22 +0000 (19:42 -0700)
commitaf7f15604c3eccc08c9d40beb182e2729dd3c132
treecc20d30b3c85ea34aafd39c4afe04c0b27d91f67
parente844abfb60a746e475d265e4f8bf340e8e430e98
ipc: fix sleep in atomic context during reboot

BZ: 34240

Currently we use intel_scu_ipc_simple_command() to send reset
command to SCU. If panic happens and reboot, there might be sleep
in atomic context. This patch fixes this issue.

Change-Id: Icb9fd26e0ac7e497679bc4090b68d4e8b7dcf35c
Signed-off-by: Li, Ning <ning.li@intel.com>
Reviewed-on: http://android.intel.com:8080/47366
Reviewed-by: Chen, Jie D <jie.d.chen@intel.com>
Reviewed-by: Yang, Fei <fei.yang@intel.com>
Reviewed-by: Yang, Bin <bin.yang@intel.com>
Reviewed-by: Du, Alek <alek.du@intel.com>
Tested-by: Tang, HaifengX <haifengx.tang@intel.com>
Reviewed-by: buildbot <buildbot@intel.com>
Tested-by: buildbot <buildbot@intel.com>
arch/x86/platform/intel-mid/intel-mid.c
drivers/platform/x86/intel_scu_ipc.c