diff options
Diffstat (limited to 'arch/powerpc/kernel/paca.c')
| -rw-r--r-- | arch/powerpc/kernel/paca.c | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/arch/powerpc/kernel/paca.c b/arch/powerpc/kernel/paca.c index ebf9846f3c3..f4adf89d761 100644 --- a/arch/powerpc/kernel/paca.c +++ b/arch/powerpc/kernel/paca.c | |||
| @@ -27,20 +27,6 @@ extern unsigned long __toc_start; | |||
| 27 | #ifdef CONFIG_PPC_BOOK3S | 27 | #ifdef CONFIG_PPC_BOOK3S |
| 28 | 28 | ||
| 29 | /* | 29 | /* |
| 30 | * We only have to have statically allocated lppaca structs on | ||
| 31 | * legacy iSeries, which supports at most 64 cpus. | ||
| 32 | */ | ||
| 33 | #ifdef CONFIG_PPC_ISERIES | ||
| 34 | #if NR_CPUS < 64 | ||
| 35 | #define NR_LPPACAS NR_CPUS | ||
| 36 | #else | ||
| 37 | #define NR_LPPACAS 64 | ||
| 38 | #endif | ||
| 39 | #else /* not iSeries */ | ||
| 40 | #define NR_LPPACAS 1 | ||
| 41 | #endif | ||
| 42 | |||
| 43 | /* | ||
| 44 | * The structure which the hypervisor knows about - this structure | 30 | * The structure which the hypervisor knows about - this structure |
| 45 | * should not cross a page boundary. The vpa_init/register_vpa call | 31 | * should not cross a page boundary. The vpa_init/register_vpa call |
| 46 | * is now known to fail if the lppaca structure crosses a page | 32 | * is now known to fail if the lppaca structure crosses a page |
