aboutsummaryrefslogtreecommitdiff
path: root/scripts/patch-kernel
diff options
context:
space:
mode:
authorKees Cook <keescook@chromium.org>2012-03-09 16:07:10 -0800
committerBen Hutchings <ben@decadent.org.uk>2013-02-06 04:33:54 +0000
commit756a6d71c4f566f840cf4e04fe2540e6927d2613 (patch)
treeae8283133315a63e41d58184edafee8bd5fce997 /scripts/patch-kernel
parenta423a71dafbcd05bc263f9eb42c142e4b869ed95 (diff)
x86: Use enum instead of literals for trap values
commit c94082656dac74257f63e91f78d5d458ac781fa5 upstream. 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> Cherry-picked-for: v2.3.37 Signed-off-by: John Kacur <jkacur@redhat.com> Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
Diffstat (limited to 'scripts/patch-kernel')
0 files changed, 0 insertions, 0 deletions