• Rusty Russell's avatar
    [PATCH] Remove cpu arg from cpu_raise_irq · 26e48e57
    Rusty Russell authored
    The function cpu_raise_softirq() takes a softirq number, and a cpu number,
    but cannot be used with cpu != smp_processor_id(), because there's no
    locking around the pending softirq lists.  Since noone does this, remove
    that arg.
    
    As per Linus' suggestion, names changed:
    	raise_softirq(int nr)
    	cpu_raise_softirq(int cpu, int nr) -> raise_softirq_irqoff(int nr)
    	__cpu_raise_softirq(int cpu, int nr) -> __raise_softirq_irqoff(int nr)
    26e48e57
dev.c 73.8 KB