diff options
author | Arnaldo Carvalho de Melo <acme@mandriva.com> | 2005-10-29 01:10:35 -0400 |
---|---|---|
committer | Arnaldo Carvalho de Melo <acme@mandriva.com> | 2005-10-29 01:10:35 -0400 |
commit | fc228a04a4c01bbb2f898e180a14f9a976001f79 (patch) | |
tree | c6015f399aac7f0566dfadb984d843fe67175329 /drivers/char/mmtimer.c | |
parent | 9fcc2e8a752f7d3d889114221b67c459557823e9 (diff) | |
parent | 8a212ab6b8a4ccc6f3c3d1beba5f92655c576404 (diff) |
Merge branch 'master' of /pub/scm/linux/kernel/git/torvalds/linux-2.6
Diffstat (limited to 'drivers/char/mmtimer.c')
-rw-r--r-- | drivers/char/mmtimer.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/char/mmtimer.c b/drivers/char/mmtimer.c index 12006182f575..78c89a3e7825 100644 --- a/drivers/char/mmtimer.c +++ b/drivers/char/mmtimer.c | |||
@@ -441,7 +441,7 @@ static irqreturn_t | |||
441 | mmtimer_interrupt(int irq, void *dev_id, struct pt_regs *regs) | 441 | mmtimer_interrupt(int irq, void *dev_id, struct pt_regs *regs) |
442 | { | 442 | { |
443 | int i; | 443 | int i; |
444 | mmtimer_t *base = timers + cpuid_to_cnodeid(smp_processor_id()) * | 444 | mmtimer_t *base = timers + cpu_to_node(smp_processor_id()) * |
445 | NUM_COMPARATORS; | 445 | NUM_COMPARATORS; |
446 | unsigned long expires = 0; | 446 | unsigned long expires = 0; |
447 | int result = IRQ_NONE; | 447 | int result = IRQ_NONE; |
@@ -608,7 +608,7 @@ static int sgi_timer_set(struct k_itimer *timr, int flags, | |||
608 | */ | 608 | */ |
609 | preempt_disable(); | 609 | preempt_disable(); |
610 | 610 | ||
611 | nodeid = cpuid_to_cnodeid(smp_processor_id()); | 611 | nodeid = cpu_to_node(smp_processor_id()); |
612 | base = timers + nodeid * NUM_COMPARATORS; | 612 | base = timers + nodeid * NUM_COMPARATORS; |
613 | retry: | 613 | retry: |
614 | /* Don't use an allocated timer, or a deleted one that's pending */ | 614 | /* Don't use an allocated timer, or a deleted one that's pending */ |