]> Git Repo - linux.git/commitdiff
x86: Fix typo in kexec register clearing
authorKees Cook <[email protected]>
Wed, 5 Jun 2013 18:47:18 +0000 (11:47 -0700)
committerH. Peter Anvin <[email protected]>
Wed, 12 Jun 2013 22:16:18 +0000 (15:16 -0700)
Fixes a typo in register clearing code. Thanks to PaX Team for fixing
this originally, and James Troup for pointing it out.

Signed-off-by: Kees Cook <[email protected]>
Link: http://lkml.kernel.org/r/[email protected]
Cc: <[email protected]> v2.6.30+
Cc: PaX Team <[email protected]>
Signed-off-by: H. Peter Anvin <[email protected]>
arch/x86/kernel/relocate_kernel_64.S

index 7a6f3b3be3cfcd9c071672e2275213c3c7715607..f2bb9c96720ace7ac54b6a1fc713cb5a002d7379 100644 (file)
@@ -160,7 +160,7 @@ identity_mapped:
        xorq    %rbp, %rbp
        xorq    %r8,  %r8
        xorq    %r9,  %r9
-       xorq    %r10, %r9
+       xorq    %r10, %r10
        xorq    %r11, %r11
        xorq    %r12, %r12
        xorq    %r13, %r13
This page took 0.05936 seconds and 4 git commands to generate.