commit | c5413fbe894924ddb8aa474a4d4da52e7a6c7e0b | [log] [tgz] |
---|---|---|
author | Jeremy Fitzhardinge <jeremy@goop.org> | Wed May 02 19:27:16 2007 +0200 |
committer | Andi Kleen <andi@basil.nowhere.org> | Wed May 02 19:27:16 2007 +0200 |
tree | 8f317bf2494b6b4bceb5e6d1ee35fabc0eeb9971 | |
parent | 1956c73bb5bf81ee577ed7d3c64e3cad876ad2a5 [diff] |
[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 <chrisw@sous-sol.org> Signed-off-by: Jeremy Fitzhardinge <jeremy@xensource.com> Signed-off-by: Andi Kleen <ak@suse.de> Cc: Rusty Russell <rusty@rustcorp.com.au>