[RFC PATCH v1 18/70] arm, kvm: _FROZEN Cleanup

From: Chen, Gong
Date: Tue Jul 22 2014 - 22:33:32 EST


Remove XXX_FROZEN state from arm/kvm.

Signed-off-by: Chen, Gong <gong.chen@xxxxxxxxxxxxxxx>
---
arch/arm/kvm/arm.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/arch/arm/kvm/arm.c b/arch/arm/kvm/arm.c
index 3c82b37..0014464 100644
--- a/arch/arm/kvm/arm.c
+++ b/arch/arm/kvm/arm.c
@@ -860,9 +860,8 @@ static void cpu_init_hyp_mode(void *dummy)
static int hyp_init_cpu_notify(struct notifier_block *self,
unsigned long action, void *cpu)
{
- switch (action) {
+ switch (action & ~CPU_TASKS_FROZEN) {
case CPU_STARTING:
- case CPU_STARTING_FROZEN:
cpu_init_hyp_mode(NULL);
break;
}
--
2.0.0.rc2

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/