[PATCH] [28/40] i386: Fix UP gdt bugs

2007-04-30 Thread Andi Kleen
From: Jeremy Fitzhardinge <[EMAIL PROTECTED]> 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().

[PATCH] [28/40] i386: Fix UP gdt bugs

2007-04-30 Thread Andi Kleen
From: Jeremy Fitzhardinge [EMAIL PROTECTED] 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().