Linux Kernel
3.7.1
Main Page
Related Pages
Modules
Namespaces
Data Structures
Files
File List
Globals
All
Data Structures
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Macros
Groups
Pages
kernel
up.c
Go to the documentation of this file.
1
/*
2
* Uniprocessor-only support functions. The counterpart to kernel/smp.c
3
*/
4
5
#include <
linux/interrupt.h
>
6
#include <linux/kernel.h>
7
#include <linux/export.h>
8
#include <
linux/smp.h
>
9
10
int
smp_call_function_single
(
int
cpu
,
void
(*
func
) (
void
*
info
),
void
*info,
11
int
wait
)
12
{
13
WARN_ON
(cpu != 0);
14
15
local_irq_disable
();
16
(
func
)(info);
17
local_irq_enable
();
18
19
return
0;
20
}
21
EXPORT_SYMBOL
(
smp_call_function_single
);
Generated on Thu Jan 10 2013 14:55:18 for Linux Kernel by
1.8.2