diff options
author | Andi Kleen <ak@suse.de> | 2006-02-26 04:18:49 +0100 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-02-26 18:53:31 +0100 |
commit | e8b917775b572bc27de105f1317c2de4335db5b3 (patch) | |
tree | 940351af2d1690331d82a65331acf34254621936 /include/asm-x86_64 | |
parent | [PATCH] x86_64: Fix the additional_cpus=.. option (diff) | |
download | linux-e8b917775b572bc27de105f1317c2de4335db5b3.tar.xz linux-e8b917775b572bc27de105f1317c2de4335db5b3.zip |
[PATCH] x86_64: Move the SMP time selection earlier
SMP time selection originally ran after all CPUs were brought up because
it needed to know the number of CPUs to decide if it needs an MP safe
timer or not.
This is not needed anymore because we know present CPUs early.
This fixes a couple of problems:
- apicmaintimer didn't always work because it relied on state that was
set up time_init_gtod too late.
- The output for the used timer in early kernel log was misleading
because time_init_gtod could actually change it later. Now always
print the final timer choice
Signed-off-by: Andi Kleen <ak@suse.de>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'include/asm-x86_64')
-rw-r--r-- | include/asm-x86_64/proto.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/include/asm-x86_64/proto.h b/include/asm-x86_64/proto.h index 8bdcbd0aa03f..3ba8fd45fcb3 100644 --- a/include/asm-x86_64/proto.h +++ b/include/asm-x86_64/proto.h @@ -39,7 +39,6 @@ extern void config_acpi_tables(void); extern void ia32_syscall(void); extern void iommu_hole_init(void); -extern void time_init_gtod(void); extern int pmtimer_mark_offset(void); extern void pmtimer_resume(void); extern void pmtimer_wait(unsigned); |