https://github.com/torvalds/linux
Revision 32e1eb59f7042c03cb8dbb598e7c97fddbb62ac2 authored by Russell King on 04 July 2012, 16:04:57 UTC, committed by Russell King on 04 July 2012, 16:04:57 UTC
arch/arm/mach-versatile/pci.c: In function 'versatile_map_irq':
arch/arm/mach-versatile/pci.c:342: warning: unused variable 'devslot'

Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
1 parent 9e85a6f
Raw File
Tip revision: 32e1eb59f7042c03cb8dbb598e7c97fddbb62ac2 authored by Russell King on 04 July 2012, 16:04:57 UTC
ARM: fix mach-versatile/pci.c warning
Tip revision: 32e1eb5
up.c
/*
 * Uniprocessor-only support functions.  The counterpart to kernel/smp.c
 */

#include <linux/interrupt.h>
#include <linux/kernel.h>
#include <linux/export.h>
#include <linux/smp.h>

int smp_call_function_single(int cpu, void (*func) (void *info), void *info,
				int wait)
{
	WARN_ON(cpu != 0);

	local_irq_disable();
	(func)(info);
	local_irq_enable();

	return 0;
}
EXPORT_SYMBOL(smp_call_function_single);
back to top