Merge branch 'x86/sev' into x86/boot, to resolve conflicts and to pick up dependent...
[sfrench/cifs-2.6.git] / arch / x86 / mm / fault.c
index 859adcd123c9c89214fb180540b1eceb53751127..8224567abdb68e5af0f1815e3fcafff91a0fc507 100644 (file)
@@ -803,15 +803,6 @@ show_signal_msg(struct pt_regs *regs, unsigned long error_code,
        show_opcodes(regs, loglvl);
 }
 
-/*
- * The (legacy) vsyscall page is the long page in the kernel portion
- * of the address space that has user-accessible permissions.
- */
-static bool is_vsyscall_vaddr(unsigned long vaddr)
-{
-       return unlikely((vaddr & PAGE_MASK) == VSYSCALL_ADDR);
-}
-
 static void
 __bad_area_nosemaphore(struct pt_regs *regs, unsigned long error_code,
                       unsigned long address, u32 pkey, int si_code)