]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commit
x86/idt: Use proper constants for table size
authorThomas Gleixner <tglx@linutronix.de>
Thu, 28 May 2020 14:53:18 +0000 (16:53 +0200)
committerThomas Gleixner <tglx@linutronix.de>
Thu, 11 Jun 2020 13:15:25 +0000 (15:15 +0200)
commit5a2bafca1b0675a126143eea3610143130347783
tree3af6afa5a8d1dab0ebc197dc3ca8bb8ae75656c4
parent94438af40d06c110988fc9e30baf801f38b1491a
x86/idt: Use proper constants for table size

Use the actual struct size to calculate the IDT table size instead of
hardcoded values.

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Link: https://lkml.kernel.org/r/20200528145522.898591501@linutronix.de
arch/x86/kernel/idt.c