summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'trunk/2.6.21/50008_reenable-tls-warning.patch')
-rw-r--r--trunk/2.6.21/50008_reenable-tls-warning.patch23
1 files changed, 23 insertions, 0 deletions
diff --git a/trunk/2.6.21/50008_reenable-tls-warning.patch b/trunk/2.6.21/50008_reenable-tls-warning.patch
new file mode 100644
index 0000000..c2bfdbe
--- /dev/null
+++ b/trunk/2.6.21/50008_reenable-tls-warning.patch
@@ -0,0 +1,23 @@
+--- linux-2.6.20-xen-r6.orig/arch/i386/kernel/fixup.c 2007-10-15 15:22:09.000000000 -0700
++++ linux-2.6.20-xen-r6/arch/i386/kernel/fixup.c 2007-10-15 16:04:23.000000000 -0700
+@@ -38,7 +38,6 @@
+
+ fastcall void do_fixup_4gb_segment(struct pt_regs *regs, long error_code)
+ {
+-#if 0
+ static unsigned long printed = 0;
+ char info[100];
+ int i;
+@@ -78,12 +77,6 @@
+ }
+
+ printk("Continuing...\n\n");
+-#else
+- if (printk_ratelimit())
+- printk(KERN_WARNING
+- "4gb seg fixup, process %s (pid %d), cs:ip %02x:%08lx\n",
+- current->comm, current->tgid, regs->xcs, regs->eip);
+-#endif
+ }
+
+ static int __init fixup_init(void)