commit | 0dd76d736eeb3e0ef86c5b103b47ae0e15edebad | [log] [tgz] |
---|---|---|
author | Brian Gerst <brgerst@gmail.com> | Wed Jan 21 17:26:05 2009 +0900 |
committer | Tejun Heo <tj@kernel.org> | Wed Jan 21 17:26:05 2009 +0900 |
tree | 1ab75fceefae986c80dbe1e86a7975df3fb5d9fd | |
parent | 299e26992a737804e13e74fdb97cdab470ed19ac [diff] |
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 <brgerst@gmail.com> Signed-off-by: Tejun Heo <tj@kernel.org>