printk(KERN_ERR "xics_set_affinity: irq=%d ibm,get-xive " 
printk(KERN_ERR "xics_set_affinity: irq=%u ibm,get-xive " 
static void xics_set_affinity(unsigned int virq, cpumask_t cpumask){	unsigned int irq;	int status;	int xics_status[2];	unsigned long newmask;	cpumask_t tmp = CPU_MASK_NONE;	irq = virt_irq_to_real(irq_offset_down(virq));	if (irq == XICS_IPI || irq == NO_IRQ)		return;	status = rtas_call(ibm_get_xive, 1, 3, xics_status, irq);	if (status) {		printk(KERN_ERR "xics_set_affinity: irq=%d ibm,get-xive "		       "returns %d\n", irq, status);		return;	}	/* For the moment only implement delivery to all cpus or one cpu */	if (cpus_equal(cpumask, CPU_MASK_ALL)) {		newmask = default_distrib_server;	} else {		cpus_and(tmp, cpu_online_map, cpumask);		if (cpus_empty(tmp))			return;		newmask = get_hard_smp_processor_id(first_cpu(tmp));	}	status = rtas_call(ibm_set_xive, 3, 1, NULL,				irq, newmask, xics_status[1]);	if (status) {		printk(KERN_ERR "xics_set_affinity: irq=%d ibm,set-xive "		       "returns %d\n", irq, status);		return;	}}
10457	/local/tlutelli/issta_data/temp/c/2005_temp/2005/10457/26370322d8e3504db61cb8d438a9fca3b87ac0db/xics.c/clean/arch/ppc64/kernel/xics.c