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
arch
x86
lib
cache-smp.c
Go to the documentation of this file.
1
#include <
linux/smp.h
>
2
#include <linux/module.h>
3
4
static
void
__wbinvd(
void
*
dummy
)
5
{
6
wbinvd();
7
}
8
9
void
wbinvd_on_cpu
(
int
cpu
)
10
{
11
smp_call_function_single
(cpu, __wbinvd,
NULL
, 1);
12
}
13
EXPORT_SYMBOL
(
wbinvd_on_cpu
);
14
15
int
wbinvd_on_all_cpus
(
void
)
16
{
17
return
on_each_cpu
(__wbinvd,
NULL
, 1);
18
}
19
EXPORT_SYMBOL
(
wbinvd_on_all_cpus
);
Generated on Thu Jan 10 2013 13:12:33 for Linux Kernel by
1.8.2