commit | 72e12b76fe48d99d1deb417f177b10a9d99b2e74 | [log] [tgz] |
---|---|---|
author | Zachary Amsden <zach@vmware.com> | Sun Oct 30 14:59:33 2005 -0800 |
committer | Linus Torvalds <torvalds@g5.osdl.org> | Sun Oct 30 17:37:12 2005 -0800 |
tree | 55bd8ff5d3d641de012fbc26f5cc1c5a40e6d920 | |
parent | 9f40a72a7e819789f66910c8cd60aab005cdb413 [diff] |
[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 <zach@vmware.com> Acked-by: Ingo Molnar <mingo@elte.hu> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>