Displaying 1 result from an estimated 1 matches for "hpet_resume".
2012 Mar 27
0
[PATCH 1/4] x86/hpet: disable before reboot or kexec
...96,6 +96,7 @@ static void nmi_shootdown_cpus(void)
#endif
disable_IO_APIC();
+ hpet_disable();
}
void machine_crash_shutdown(void)
--- a/xen/arch/x86/hpet.c
+++ b/xen/arch/x86/hpet.c
@@ -566,7 +566,7 @@ void hpet_broadcast_resume(void)
if ( !hpet_events )
return;
- hpet_resume();
+ hpet_resume(NULL);
cfg = hpet_read32(HPET_CFG);
@@ -704,10 +704,13 @@ int hpet_legacy_irq_tick(void)
return 1;
}
+static u32 *hpet_boot_cfg;
+
u64 __init hpet_setup(void)
{
static u64 __initdata hpet_rate;
u32 hpet_id, hpet_period;
+ unsigned int last;...