Skip to content

x86/fault: cleanup: move x86-64 test into is_vsyscall_vaddr()

H. Peter Anvin linux-doc lkml 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest1 patch 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/1x86/fault: cleanup: move x86-64 test into is_vsyscall_vaddr()arch/x86/include/asm/vsyscall.h arch/x86/mm/fault.c+3 -40 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

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

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(-)