Merge branch 'fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/ieee1394/linux1...
[deliverable/linux.git] / kernel / up.c
CommitLineData
53ce3d95
AM
1/*
2 * Uniprocessor-only support functions. The counterpart to kernel/smp.c
3 */
4
6e962814 5#include <linux/interrupt.h>
53ce3d95
AM
6#include <linux/kernel.h>
7#include <linux/module.h>
8#include <linux/smp.h>
9
10int smp_call_function_single(int cpu, void (*func) (void *info), void *info,
11 int wait)
12{
93423b86
IM
13 WARN_ON(cpu != 0);
14
53ce3d95
AM
15 local_irq_disable();
16 (func)(info);
17 local_irq_enable();
93423b86 18
53ce3d95
AM
19 return 0;
20}
21EXPORT_SYMBOL(smp_call_function_single);
This page took 0.17121 seconds and 5 git commands to generate.