diff options
author | Stas Sergeev <stsp@aknet.ru> | 2009-02-23 17:13:07 +0100 |
---|---|---|
committer | H. Peter Anvin <hpa@linux.intel.com> | 2009-02-23 20:34:04 +0100 |
commit | bda3a89745d7bb88d3e735046c0cdc3d0eb2ac24 (patch) | |
tree | 7213ea6999ff7dc6120c7d31fffe8b875a3ee1b8 /arch/h8300/Kconfig.cpu | |
parent | x86: numa_32.c: fix sparse warning: Using plain integer as NULL pointer (diff) | |
download | linux-bda3a89745d7bb88d3e735046c0cdc3d0eb2ac24.tar.xz linux-bda3a89745d7bb88d3e735046c0cdc3d0eb2ac24.zip |
x86: minor cleanup in the espfix code
Impact: Cleanup
Checkin be44d2aabce2d62f72d5751d1871b6212bf7a1c7 eliminates the use of
a 16-bit stack for espfix. However, at least one instruction remained
that only operated on the low 16 bits of %esp.
This is not a bug per se because the kernel stack is always an aligned
4K or 8K block. Therefore it cannot cross 64K boundaries; this code,
in fact, relies strictly on that fact.
However, it's a lot cleaner (and, for that matter, smaller) to operate
on the entire 32-bit register.
Signed-off-by: Stas Sergeev <stsp@aknet.ru>
CC: Zachary Amsden <zach@vmware.com>
CC: Chuck Ebbert <cebbert@redhat.com>
Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
Diffstat (limited to 'arch/h8300/Kconfig.cpu')
0 files changed, 0 insertions, 0 deletions