]> nv-tegra.nvidia Code Review - linux-2.6.git/blobdiff - arch/x86_64/kernel/entry.S
x86_64: Ignore compat mode SYSCALL when IA32_EMULATION is not defined
[linux-2.6.git] / arch / x86_64 / kernel / entry.S
index fa984b53e7e6c8e0d0118b5ef195b276c4adfcc7..a67f87bf4015a4072ae1ec9876b07f1f8555a790 100644 (file)
@@ -1163,3 +1163,10 @@ ENTRY(call_softirq)
        ret
        CFI_ENDPROC
 ENDPROC(call_softirq)
        ret
        CFI_ENDPROC
 ENDPROC(call_softirq)
+
+KPROBE_ENTRY(ignore_sysret)
+       CFI_STARTPROC
+       mov $-ENOSYS,%eax
+       sysret
+       CFI_ENDPROC
+ENDPROC(ignore_sysret)