From: Jeremy Fitzhardinge Date: Wed, 2 May 2007 17:27:16 +0000 (+0200) Subject: [PATCH] i386: Fix UP gdt bugs X-Git-Tag: v2.6.22-rc1~1011^2~75 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c5413fbe894924ddb8aa474a4d4da52e7a6c7e0b;p=pandora-kernel.git [PATCH] i386: Fix UP gdt bugs Fixes two problems with the GDT when compiling for uniprocessor: - There's no percpu segment, so trying to load its selector into %fs fails. Use a null selector instead. - The real gdt needs to be loaded at some point. Do it in cpu_init(). Signed-off-by: Chris Wright Signed-off-by: Jeremy Fitzhardinge Signed-off-by: Andi Kleen Cc: Rusty Russell --- Reading git-diff-tree failed