summaryrefslogtreecommitdiff
path: root/arch/x86/include/asm/processor.h
diff options
context:
space:
mode:
authorKees Cook <keescook@chromium.org>2012-03-10 00:07:10 (GMT)
committerH. Peter Anvin <hpa@zytor.com>2012-03-10 00:47:54 (GMT)
commitc94082656dac74257f63e91f78d5d458ac781fa5 (patch)
treed6764c507274620b6a7189c6500e4663e2ed2577 /arch/x86/include/asm/processor.h
parent192cfd58774b4d17b2fe8bdc77d89c2ef4e0591d (diff)
downloadlinux-c94082656dac74257f63e91f78d5d458ac781fa5.tar.xz
x86: Use enum instead of literals for trap values
The traps are referred to by their numbers and it can be difficult to understand them while reading the code without context. This patch adds enumeration of the trap numbers and replaces the numbers with the correct enum for x86. Signed-off-by: Kees Cook <keescook@chromium.org> Link: http://lkml.kernel.org/r/20120310000710.GA32667@www.outflux.net Signed-off-by: H. Peter Anvin <hpa@zytor.com>
Diffstat (limited to 'arch/x86/include/asm/processor.h')
0 files changed, 0 insertions, 0 deletions