diff options
author | Kees Cook <[email protected]> | 2012-03-09 16:07:10 -0800 |
---|---|---|
committer | H. Peter Anvin <[email protected]> | 2012-03-09 16:47:54 -0800 |
commit | c94082656dac74257f63e91f78d5d458ac781fa5 (patch) | |
tree | d6764c507274620b6a7189c6500e4663e2ed2577 /lib/mpi | |
parent | 192cfd58774b4d17b2fe8bdc77d89c2ef4e0591d (diff) |
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 <[email protected]>
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: H. Peter Anvin <[email protected]>
Diffstat (limited to 'lib/mpi')
0 files changed, 0 insertions, 0 deletions