Hi!
Head.s contains some ugly #ifdefs for no good reason. This adds few
bytes to kernel, but removes ugly #ifdefs. Please apply.
Pavel
--- linux/arch/i386/kernel/head.S.orif Sat Aug 5 17:14:48 2000
+++ linux/arch/i386/kernel/head.S Sat Aug 5 17:17:51 2000
@@ -169,9 +169,7 @@
rep
movsl
1:
-#ifdef CONFIG_SMP
checkCPUtype:
-#endif
movl $-1,X86_CPUID # -1 for no CPUID initially
@@ -264,9 +262,7 @@
orl $2,%eax # set MP
2: movl %eax,%cr0
call check_x87
-#ifdef CONFIG_SMP
incb ready
-#endif
lgdt gdt_descr
lidt idt_descr
ljmp $(__KERNEL_CS),$1f
@@ -298,9 +294,7 @@
jmp L6 # main should never return here, but
# just in case, we know what happens.
-#ifdef CONFIG_SMP
ready: .byte 0
-#endif
/*
* We depend on ET to be correct. This checks for 287/387.
-- I'm pavel@ucw.cz. "In my country we have almost anarchy and I don't care." Panos Katsaloulis describing me w.r.t. patents at discuss@linmodems.org- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/
This archive was generated by hypermail 2b29 : Sat Aug 05 2000 - 15:52:50 EDT