x86/hyper-V: Allocate the IDT entry early in boot
authorK. Y. Srinivasan <[email protected]>
Fri, 8 Sep 2017 23:15:57 +0000 (16:15 -0700)
committerIngo Molnar <[email protected]>
Wed, 13 Sep 2017 09:02:26 +0000 (11:02 +0200)
commit213ff44ae4eb5224010166db2f851e4eea068268
tree8f6d3a7b581978fa9e7304056d470c5455096764
parent30c1bbffe629985d86bf68796a224ea4eac2685b
x86/hyper-V: Allocate the IDT entry early in boot

Allocate the hypervisor callback IDT entry early in the boot sequence.

The previous code would allocate the entry as part of registering the handler
when the vmbus driver loaded, and this caused a problem for the IDT cleanup
that Thomas is working on for v4.15.

Signed-off-by: K. Y. Srinivasan <[email protected]>
Cc: Linus Torvalds <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Thomas Gleixner <[email protected]>
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Ingo Molnar <[email protected]>
arch/x86/kernel/cpu/mshyperv.c