x86/traps: Split trap numbers out in a separate header
authorThomas Gleixner <tglx@linutronix.de>
Tue, 25 Feb 2020 22:16:07 +0000 (23:16 +0100)
committerThomas Gleixner <tglx@linutronix.de>
Thu, 11 Jun 2020 13:14:42 +0000 (15:14 +0200)
commit877f183f83cc33b1b09313b9c18ab7ee5abda44f
tree7e8d954a9a2e10de7e22de16336e9580a6c66bfe
parentca4c6a9858c23b4f330113f391f2eadc983e780f
x86/traps: Split trap numbers out in a separate header

So they can be used in ASM code. For this it is also necessary to convert
them to defines. Will be used for the rework of the entry code.

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Reviewed-by: Andy Lutomirski <luto@kernel.org>
Reviewed-by: Alexandre Chartre <alexandre.chartre@oracle.com>
Acked-by: Peter Zijlstra <peterz@infradead.org>
Link: https://lkml.kernel.org/r/20200505134903.731004084@linutronix.de
arch/x86/include/asm/trapnr.h [new file with mode: 0644]
arch/x86/include/asm/traps.h