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
sparc
kernel
cpumap.h
Go to the documentation of this file.
1
#ifndef _CPUMAP_H
2
#define _CPUMAP_H
3
4
#ifdef CONFIG_SMP
5
extern
void
cpu_map_rebuild
(
void
);
6
extern
int
map_to_cpu
(
unsigned
int
index
);
7
#define cpu_map_init() cpu_map_rebuild()
8
#else
9
#define cpu_map_init() do {} while (0)
10
static
inline
int
map_to_cpu
(
unsigned
int
index
)
11
{
12
return
raw_smp_processor_id
();
13
}
14
#endif
15
16
#endif
Generated on Thu Jan 10 2013 13:18:19 for Linux Kernel by
1.8.2