<html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">--- linux-2.6.9/arch/i386/kernel/traps-xen.c.orig	2008-12-04 15:25:11.932073000 -0800
+++ linux-2.6.9/arch/i386/kernel/traps-xen.c	2008-12-04 15:30:14.075827000 -0800
@@ -551,7 +551,8 @@ check_lazy_exec_limit(int cpu, struct pt
 	desc1 = &amp;current-&gt;mm-&gt;context.user_cs;
 	desc2 = &amp;get_cpu_gdt_table(cpu)[GDT_ENTRY_DEFAULT_USER_CS];
 
-	if (desc1-&gt;a != desc2-&gt;a || desc1-&gt;b != desc2-&gt;b) {
+	if ((desc1-&gt;a &amp; 0xff0000ff) != (desc2-&gt;a &amp; 0xff0000ff) || 
+			desc1-&gt;b != desc2-&gt;b) {
 		/*
 		 * The CS was not in sync - reload it and retry the
 		 * instruction. If the instruction still faults then
</pre></body></html>