]> git.baikalelectronics.ru Git - 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)
commitbe1fa6c42369ad53f54862db3f10f08ba6dacd02
tree3af6afa5a8d1dab0ebc197dc3ca8bb8ae75656c4
parentc368dcdf62fcc01e5c347d9a389d8be04fefb0bc
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