[PATCH 0/1] x86/fault: cleanup: move x86-64 test into is_vsyscall_vaddr()

H. Peter Anvin posted 1 patch 1 month ago
arch/x86/include/asm/vsyscall.h | 3 ++-
arch/x86/mm/fault.c             | 4 +---
2 files changed, 3 insertions(+), 4 deletions(-)
[PATCH 0/1] x86/fault: cleanup: move x86-64 test into is_vsyscall_vaddr()
Posted by H. Peter Anvin 1 month ago
Reviewing Sohil's LASS patchset inspired me to cook up a very small
cleanup patch, removing some unnecessary conditional compilation. It
is on top of Sohil's patchset, but it is really orthogonal to it; the
patch applies with fuzz (line changes and the renaming of
emulate_vsyscall() to emulate_vsyscall_pf() in the context) to the
unmodified upstream kernel as well.

	 -hpa

---
 arch/x86/include/asm/vsyscall.h | 3 ++-
 arch/x86/mm/fault.c             | 4 +---
 2 files changed, 3 insertions(+), 4 deletions(-)