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
powerpc
include
asm
percpu.h
Go to the documentation of this file.
1
#ifndef _ASM_POWERPC_PERCPU_H_
2
#define _ASM_POWERPC_PERCPU_H_
3
#ifdef __powerpc64__
4
5
/*
6
* Same as asm-generic/percpu.h, except that we store the per cpu offset
7
* in the paca. Based on the x86-64 implementation.
8
*/
9
10
#ifdef CONFIG_SMP
11
12
#include <
asm/paca.h
>
13
14
#define __my_cpu_offset local_paca->data_offset
15
16
#endif
/* CONFIG_SMP */
17
#endif
/* __powerpc64__ */
18
19
#include <
asm-generic/percpu.h
>
20
21
#endif
/* _ASM_POWERPC_PERCPU_H_ */
Generated on Thu Jan 10 2013 12:50:09 for Linux Kernel by
1.8.2