-
- Downloads
x86: Make alternative instruction pointers relative
This save a few bytes on x86-64 and means that future patches can apply alternatives to unrelocated code. Signed-off-by:Andy Lutomirski <luto@mit.edu> Link: http://lkml.kernel.org/r/ff64a6b9a1a3860ca4a7b8b6dc7b4754f9491cd7.1310563276.git.luto@mit.edu Signed-off-by:
H. Peter Anvin <hpa@linux.intel.com>
Showing
- arch/x86/include/asm/alternative-asm.h 2 additions, 2 deletionsarch/x86/include/asm/alternative-asm.h
- arch/x86/include/asm/alternative.h 4 additions, 4 deletionsarch/x86/include/asm/alternative.h
- arch/x86/include/asm/cpufeature.h 4 additions, 4 deletionsarch/x86/include/asm/cpufeature.h
- arch/x86/kernel/alternative.c 13 additions, 8 deletionsarch/x86/kernel/alternative.c
- arch/x86/lib/copy_page_64.S 3 additions, 6 deletionsarch/x86/lib/copy_page_64.S
- arch/x86/lib/memmove_64.S 5 additions, 6 deletionsarch/x86/lib/memmove_64.S
Loading
Please register or sign in to comment