| Subject | Re: [patch 40/41] x86/idt: Hide set_intr_gate() | From | Paolo Bonzini <> | Date | Fri, 25 Aug 2017 12:56:56 +0200 |
| |
On 25/08/2017 12:31, Thomas Gleixner wrote: > set_intr_gate() is an internal function of the IDT code. The only user left > is the KVM code which replaces the pagefault handler eventually. > > Provide an explicit update_intr_gate() function and make set_intr_gate() > static. While at it replace the magic number 14 in the KVM code with the > proper trap define. > > Signed-off-by: Thomas Gleixner <tglx@linutronix.de> > Cc: Paolo Bonzini <pbonzini@redhat.com>
Acked-by: Paolo Bonzini <pbonzini@redhat.com>
Thanks,
Paolo
|