Displaying 2 results from an estimated 2 matches for "legacy_hpet_event".
2009 Sep 30
0
[PATCH] Disable HPET broadcast mode on kexec
...ff -r 6472342c8ab0 -r 5215da46d60f xen/arch/x86/hpet.c
--- a/xen/arch/x86/hpet.c Wed Sep 30 08:51:21 2009 +0100
+++ b/xen/arch/x86/hpet.c Wed Sep 30 08:20:55 2009 +0000
@@ -604,8 +604,9 @@
void hpet_disable_legacy_broadcast(void)
{
u32 cfg;
+ unsigned long flags;
- spin_lock_irq(&legacy_hpet_event.lock);
+ spin_lock_irqsave(&legacy_hpet_event.lock, flags);
legacy_hpet_event.flags |= HPET_EVT_DISABLE;
@@ -619,7 +620,7 @@
cfg &= ~HPET_CFG_LEGACY;
hpet_write32(cfg, HPET_CFG);
- spin_unlock_irq(&legacy_hpet_event.lock);
+ spin_unlock_irqrestore(&lega...
2009 Jul 15
0
[PATCH] rename for_each_cpu() to for_each_possible_cpu()
...e_map);
/* Enable IRQ to receive IPI (needed for ITC sync). */
local_irq_enable();
--- 2009-07-10.orig/xen/arch/x86/hpet.c 2009-05-27 13:54:05.000000000 +0200
+++ 2009-07-10/xen/arch/x86/hpet.c 2009-07-15 09:58:49.000000000 +0200
@@ -590,7 +590,7 @@ void hpet_broadcast_init(void)
legacy_hpet_event.flags = 0;
spin_lock_init(&legacy_hpet_event.lock);
- for_each_cpu(i)
+ for_each_possible_cpu(i)
per_cpu(cpu_bc_channel, i) = &legacy_hpet_event;
if ( !force_hpet_broadcast )
--- 2009-07-10.orig/xen/arch/x86/nmi.c 2009-06-19 11:11:23.000000000 +0200
+++ 2009-07-...