]> git.baikalelectronics.ru Git - kernel.git/commit
x86, reloc: Use xorl instead of xorq in relocate_kernel_64.S
authorH. Peter Anvin <hpa@linux.intel.com>
Fri, 21 Jun 2013 04:16:00 +0000 (21:16 -0700)
committerH. Peter Anvin <hpa@linux.intel.com>
Fri, 21 Jun 2013 04:30:04 +0000 (21:30 -0700)
commit6f5b8202955c9cd1e987cf69af86e343b870a7e4
tree62d04e0ede52997b6fb2711526200e52cef03753
parent5646d4dc0e79b8c87dbf0447e755fe7db2586d69
x86, reloc: Use xorl instead of xorq in relocate_kernel_64.S

There is no point in using "xorq" to clear a register... use "xorl" to
clear the bottom 32 bits, and the upper 32 bits get cleared by virtue
of zero extension.

Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
Cc: Kees Cook <keescook@chromium.org>
Link: http://lkml.kernel.org/n/tip-b76zi1gep39c0zs8fbvkhie9@git.kernel.org
arch/x86/kernel/relocate_kernel_64.S