lkml.org 
[lkml]   [2014]   [Jul]   [22]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Subject[RFC PATCH v1 62/70] virt, kvm, arm, arch_timer: _FROZEN Cleanup
Date
Remove XXX_FROZEN state from kvm/arm/arch_timer.

Signed-off-by: Chen, Gong <gong.chen@linux.intel.com>
---
virt/kvm/arm/arch_timer.c | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/virt/kvm/arm/arch_timer.c b/virt/kvm/arm/arch_timer.c
index 22fa819..169512d 100644
--- a/virt/kvm/arm/arch_timer.c
+++ b/virt/kvm/arm/arch_timer.c
@@ -220,13 +220,11 @@ u64 kvm_arm_timer_get_reg(struct kvm_vcpu *vcpu, u64 regid)
static int kvm_timer_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:
kvm_timer_init_interrupt(NULL);
break;
case CPU_DYING:
- case CPU_DYING_FROZEN:
disable_percpu_irq(host_vtimer_irq);
break;
}
--
2.0.0.rc2


\
 
 \ /
  Last update: 2014-07-23 06:21    [W:0.565 / U:0.176 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site