From: Kees Cook Date: Sat, 10 Mar 2012 00:07:10 +0000 (-0800) Subject: x86: Use enum instead of literals for trap values X-Git-Tag: v3.4-rc1~32^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c94082656dac74257f63e91f78d5d458ac781fa5;p=pandora-kernel.git 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 Link: http://lkml.kernel.org/r/20120310000710.GA32667@www.outflux.net Signed-off-by: H. Peter Anvin --- Reading git-diff-tree failed