Gitweb:     
http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=2feae2158a96aa5e02ca2e630896e6f553c36dc0
Commit:     2feae2158a96aa5e02ca2e630896e6f553c36dc0
Parent:     0293ca814b74e20e77cf719074ee15372204fc55
Author:     James Bottomley <[EMAIL PROTECTED]>
AuthorDate: Mon Apr 30 11:27:25 2007 -0500
Committer:  James Bottomley <[EMAIL PROTECTED]>
CommitDate: Tue May 1 10:06:42 2007 -0500

    [VOYAGER] clockevents: correct boot cpu is zero assumption
    
    This isn't true for voyager, so alter setup_pit_timer() to initialise
    the cpumask from the current processor id (which should be the boot
    processor) rather than defaulting to zero.
    
    Acked-by: Thomas Gleixner <[EMAIL PROTECTED]>
    Signed-off-by: James Bottomley <[EMAIL PROTECTED]>
---
 arch/i386/kernel/i8253.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/arch/i386/kernel/i8253.c b/arch/i386/kernel/i8253.c
index 10cef5c..f8a3c40 100644
--- a/arch/i386/kernel/i8253.c
+++ b/arch/i386/kernel/i8253.c
@@ -110,7 +110,7 @@ void __init setup_pit_timer(void)
         * Start pit with the boot cpu mask and make it global after the
         * IO_APIC has been initialized.
         */
-       pit_clockevent.cpumask = cpumask_of_cpu(0);
+       pit_clockevent.cpumask = cpumask_of_cpu(smp_processor_id());
        pit_clockevent.mult = div_sc(CLOCK_TICK_RATE, NSEC_PER_SEC, 32);
        pit_clockevent.max_delta_ns =
                clockevent_delta2ns(0x7FFF, &pit_clockevent);
-
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to