• Andi Kleen's avatar
    [PATCH] x86_64: Move the SMP time selection earlier · e8b91777
    Andi Kleen authored
    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: default avatarAndi Kleen <ak@suse.de>
    Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
    e8b91777
proto.h 3.77 KB