diff options
| author | Ingo Molnar <mingo@elte.hu> | 2010-03-15 03:17:33 -0400 |
|---|---|---|
| committer | Ingo Molnar <mingo@elte.hu> | 2010-03-15 03:17:33 -0400 |
| commit | 12b8aeee3e51654fb95a3baff2e093f2513bb87d (patch) | |
| tree | 73f78d62591b197cd53747e36a2f3d707b79a50b /arch/powerpc/include/asm/paca.h | |
| parent | 25268498c9e07870323aead10751b7c6e99a3a78 (diff) | |
| parent | a3d3203e4bb40f253b1541e310dc0f9305be7c84 (diff) | |
Merge branch 'linus' into timers/core
Conflicts:
Documentation/feature-removal-schedule.txt
Merge reason: Resolve the conflict, update to upstream.
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'arch/powerpc/include/asm/paca.h')
| -rw-r--r-- | arch/powerpc/include/asm/paca.h | 18 |
1 files changed, 16 insertions, 2 deletions
diff --git a/arch/powerpc/include/asm/paca.h b/arch/powerpc/include/asm/paca.h index d8a693109c82..a011603d4079 100644 --- a/arch/powerpc/include/asm/paca.h +++ b/arch/powerpc/include/asm/paca.h | |||
| @@ -14,6 +14,9 @@ | |||
| 14 | #define _ASM_POWERPC_PACA_H | 14 | #define _ASM_POWERPC_PACA_H |
| 15 | #ifdef __KERNEL__ | 15 | #ifdef __KERNEL__ |
| 16 | 16 | ||
| 17 | #ifdef CONFIG_PPC64 | ||
| 18 | |||
| 19 | #include <linux/init.h> | ||
| 17 | #include <asm/types.h> | 20 | #include <asm/types.h> |
| 18 | #include <asm/lppaca.h> | 21 | #include <asm/lppaca.h> |
| 19 | #include <asm/mmu.h> | 22 | #include <asm/mmu.h> |
| @@ -145,8 +148,19 @@ struct paca_struct { | |||
| 145 | #endif | 148 | #endif |
| 146 | }; | 149 | }; |
| 147 | 150 | ||
| 148 | extern struct paca_struct paca[]; | 151 | extern struct paca_struct *paca; |
| 149 | extern void initialise_pacas(void); | 152 | extern __initdata struct paca_struct boot_paca; |
| 153 | extern void initialise_paca(struct paca_struct *new_paca, int cpu); | ||
| 154 | |||
| 155 | extern void allocate_pacas(void); | ||
| 156 | extern void free_unused_pacas(void); | ||
| 157 | |||
| 158 | #else /* CONFIG_PPC64 */ | ||
| 159 | |||
| 160 | static inline void allocate_pacas(void) { }; | ||
| 161 | static inline void free_unused_pacas(void) { }; | ||
| 162 | |||
| 163 | #endif /* CONFIG_PPC64 */ | ||
| 150 | 164 | ||
| 151 | #endif /* __KERNEL__ */ | 165 | #endif /* __KERNEL__ */ |
| 152 | #endif /* _ASM_POWERPC_PACA_H */ | 166 | #endif /* _ASM_POWERPC_PACA_H */ |
