Merge branch 'linus' into x86/hyperv
Pick up upstream fixes to avoid conflicts.
This commit is contained in:
@@ -29,6 +29,7 @@
|
||||
#include <asm/timer.h>
|
||||
#include <asm/reboot.h>
|
||||
#include <asm/nmi.h>
|
||||
#include <clocksource/hyperv_timer.h>
|
||||
|
||||
struct ms_hyperv_info ms_hyperv;
|
||||
EXPORT_SYMBOL_GPL(ms_hyperv);
|
||||
@@ -215,6 +216,10 @@ static void __init ms_hyperv_init_platform(void)
|
||||
int hv_host_info_ecx;
|
||||
int hv_host_info_edx;
|
||||
|
||||
#ifdef CONFIG_PARAVIRT
|
||||
pv_info.name = "Hyper-V";
|
||||
#endif
|
||||
|
||||
/*
|
||||
* Extract the features and hints
|
||||
*/
|
||||
@@ -343,6 +348,15 @@ static void __init ms_hyperv_init_platform(void)
|
||||
x2apic_phys = 1;
|
||||
# endif
|
||||
|
||||
/* Register Hyper-V specific clocksource */
|
||||
hv_init_clocksource();
|
||||
#endif
|
||||
}
|
||||
|
||||
void hv_setup_sched_clock(void *sched_clock)
|
||||
{
|
||||
#ifdef CONFIG_PARAVIRT
|
||||
pv_ops.time.sched_clock = sched_clock;
|
||||
#endif
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user