x86/traps: Move pf error codes to <asm/trap_pf.h>
authorJoerg Roedel <jroedel@suse.de>
Mon, 7 Sep 2020 13:15:07 +0000 (15:15 +0200)
committerBorislav Petkov <bp@suse.de>
Mon, 7 Sep 2020 17:45:24 +0000 (19:45 +0200)
commit05a2fdf3230306daee1def019b8f52cd06bd2e48
tree36d901a2a42959aea580d3b8892279ef41ed09e6
parent360e7c5c4ca4fd8e627781ed42f95d58bc3bb732
x86/traps: Move pf error codes to <asm/trap_pf.h>

Move the definition of the x86 page-fault error code bits to a new
header file asm/trap_pf.h. This makes it easier to include them into
pre-decompression boot code. No functional changes.

Signed-off-by: Joerg Roedel <jroedel@suse.de>
Signed-off-by: Borislav Petkov <bp@suse.de>
Link: https://lkml.kernel.org/r/20200907131613.12703-7-joro@8bytes.org
arch/x86/include/asm/trap_pf.h [new file with mode: 0644]
arch/x86/include/asm/traps.h