diff options
author | Jeremy Fitzhardinge <jeremy@goop.org> | 2007-05-02 13:27:16 -0400 |
---|---|---|
committer | Andi Kleen <andi@basil.nowhere.org> | 2007-05-02 13:27:16 -0400 |
commit | c5413fbe894924ddb8aa474a4d4da52e7a6c7e0b (patch) | |
tree | 8f317bf2494b6b4bceb5e6d1ee35fabc0eeb9971 /arch/i386/kernel/head.S | |
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>
Diffstat (limited to 'arch/i386/kernel/head.S')
0 files changed, 0 insertions, 0 deletions