From: Zachary Amsden Date: Sun, 30 Oct 2005 22:59:33 +0000 (-0800) Subject: [PATCH] x86: bogus tls from gdt X-Git-Tag: v2.6.15-rc1~59^2~15^2~168 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=72e12b76fe48d99d1deb417f177b10a9d99b2e74;p=pandora-kernel.git [PATCH] x86: bogus tls from gdt The per-CPU initialization code is copying in bogus data into thread->tls_array. Note that it copies &per_cpu(cpu_gdt_table, cpu), not &per_cpu(cpu_gdt_table, cpu)[GDT_ENTRY_TLS_MIN). That is totally broken and unnecessary. Make the initialization explicitly NULL. Signed-off-by: Zachary Amsden Acked-by: Ingo Molnar Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed