From: Brian Gerst Date: Wed, 21 Jan 2009 08:26:05 +0000 (+0900) Subject: x86: set %fs to __KERNEL_PERCPU unconditionally for x86_32 X-Git-Tag: v2.6.30-rc1~2^2~50^2~64^2~6 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0dd76d736eeb3e0ef86c5b103b47ae0e15edebad;p=pandora-kernel.git x86: set %fs to __KERNEL_PERCPU unconditionally for x86_32 Impact: cleanup %fs is currently set to __KERNEL_DS at boot, and conditionally switched to __KERNEL_PERCPU for secondary cpus. Instead, initialize GDT_ENTRY_PERCPU to the same attributes as GDT_ENTRY_KERNEL_DS and set %fs to __KERNEL_PERCPU unconditionally. Signed-off-by: Brian Gerst Signed-off-by: Tejun Heo --- Reading git-diff-tree failed