mirror of
https://github.com/edk2-porting/linux-next.git
synced 2025-01-19 02:54:00 +08:00
[IA64] Two more uses of cpuid_to_cnodeid() must go.
s/cpuid_to_cnodeid/cpu_to_node/ Signed-off-by: Tony Luck <tony.luck@intel.com>
This commit is contained in:
parent
24ee0a6d7b
commit
55642d36cd
@ -441,7 +441,7 @@ static irqreturn_t
|
|||||||
mmtimer_interrupt(int irq, void *dev_id, struct pt_regs *regs)
|
mmtimer_interrupt(int irq, void *dev_id, struct pt_regs *regs)
|
||||||
{
|
{
|
||||||
int i;
|
int i;
|
||||||
mmtimer_t *base = timers + cpuid_to_cnodeid(smp_processor_id()) *
|
mmtimer_t *base = timers + cpu_to_node(smp_processor_id()) *
|
||||||
NUM_COMPARATORS;
|
NUM_COMPARATORS;
|
||||||
unsigned long expires = 0;
|
unsigned long expires = 0;
|
||||||
int result = IRQ_NONE;
|
int result = IRQ_NONE;
|
||||||
@ -608,7 +608,7 @@ static int sgi_timer_set(struct k_itimer *timr, int flags,
|
|||||||
*/
|
*/
|
||||||
preempt_disable();
|
preempt_disable();
|
||||||
|
|
||||||
nodeid = cpuid_to_cnodeid(smp_processor_id());
|
nodeid = cpu_to_node(smp_processor_id());
|
||||||
base = timers + nodeid * NUM_COMPARATORS;
|
base = timers + nodeid * NUM_COMPARATORS;
|
||||||
retry:
|
retry:
|
||||||
/* Don't use an allocated timer, or a deleted one that's pending */
|
/* Don't use an allocated timer, or a deleted one that's pending */
|
||||||
|
Loading…
Reference in New Issue
Block a user