diff options
Diffstat (limited to 'include/asm-powerpc/lppaca.h')
| -rw-r--r-- | include/asm-powerpc/lppaca.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/include/asm-powerpc/lppaca.h b/include/asm-powerpc/lppaca.h index ff82ea7c4829..4dc514aabfe7 100644 --- a/include/asm-powerpc/lppaca.h +++ b/include/asm-powerpc/lppaca.h | |||
| @@ -29,6 +29,8 @@ | |||
| 29 | //---------------------------------------------------------------------------- | 29 | //---------------------------------------------------------------------------- |
| 30 | #include <asm/types.h> | 30 | #include <asm/types.h> |
| 31 | 31 | ||
| 32 | /* The Hypervisor barfs if the lppaca crosses a page boundary. A 1k | ||
| 33 | * alignment is sufficient to prevent this */ | ||
| 32 | struct lppaca { | 34 | struct lppaca { |
| 33 | //============================================================================= | 35 | //============================================================================= |
| 34 | // CACHE_LINE_1 0x0000 - 0x007F Contains read-only data | 36 | // CACHE_LINE_1 0x0000 - 0x007F Contains read-only data |
| @@ -127,7 +129,9 @@ struct lppaca { | |||
| 127 | // CACHE_LINE_4-5 0x0100 - 0x01FF Contains PMC interrupt data | 129 | // CACHE_LINE_4-5 0x0100 - 0x01FF Contains PMC interrupt data |
| 128 | //============================================================================= | 130 | //============================================================================= |
| 129 | u8 pmc_save_area[256]; // PMC interrupt Area x00-xFF | 131 | u8 pmc_save_area[256]; // PMC interrupt Area x00-xFF |
| 130 | }; | 132 | } __attribute__((__aligned__(0x400))); |
| 133 | |||
| 134 | extern struct lppaca lppaca[]; | ||
| 131 | 135 | ||
| 132 | #endif /* __KERNEL__ */ | 136 | #endif /* __KERNEL__ */ |
| 133 | #endif /* _ASM_POWERPC_LPPACA_H */ | 137 | #endif /* _ASM_POWERPC_LPPACA_H */ |
