summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'tags/2.6.18-11/30070_amd64-cs-corruption.patch')
-rw-r--r--tags/2.6.18-11/30070_amd64-cs-corruption.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/tags/2.6.18-11/30070_amd64-cs-corruption.patch b/tags/2.6.18-11/30070_amd64-cs-corruption.patch
new file mode 100644
index 0000000..da24cd3
--- /dev/null
+++ b/tags/2.6.18-11/30070_amd64-cs-corruption.patch
@@ -0,0 +1,12 @@
+diff -urpN linux-source-2.6.18.orig/arch/x86_64/kernel/entry.S linux-source-2.6.18/arch/x86_64/kernel/entry.S
+--- linux-source-2.6.18.orig/arch/x86_64/kernel/entry.S 2008-04-23 21:53:06.000000000 -0600
++++ linux-source-2.6.18/arch/x86_64/kernel/entry.S 2008-05-08 17:19:58.000000000 -0600
+@@ -776,7 +776,7 @@ paranoid_swapgs\trace:
+ swapgs
+ paranoid_restore\trace:
+ RESTORE_ALL 8
+- iretq
++ jmp iret_label
+ paranoid_userspace\trace:
+ GET_THREAD_INFO(%rcx)
+ movl threadinfo_flags(%rcx),%ebx