diff options
| author | Geoff Levand <geoffrey.levand@am.sony.com> | 2008-01-18 15:32:59 -0500 |
|---|---|---|
| committer | Paul Mackerras <paulus@samba.org> | 2008-01-25 06:52:53 -0500 |
| commit | a628df1e9dd0d3de540bf0b7d8c6ea4896539bbb (patch) | |
| tree | cbd275f7af5a082deda36dd20aa09abfd8e7010b /include/asm-powerpc | |
| parent | c4e6752dd4f249d6797146d655973bc0bde4c26e (diff) | |
[POWERPC] PS3: Remove lpar address workaround
Remove the PS3 workaround needed to support sparsemem SPU mappings.
The SPU mappings no longer use sparsemem, so this workaround is no
longer needed.
Signed-off-by: Geoff Levand <geoffrey.levand@am.sony.com>
Signed-off-by: Paul Mackerras <paulus@samba.org>
Diffstat (limited to 'include/asm-powerpc')
| -rw-r--r-- | include/asm-powerpc/sparsemem.h | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/include/asm-powerpc/sparsemem.h b/include/asm-powerpc/sparsemem.h index 48ad807a0b8a..e8b493d52b4f 100644 --- a/include/asm-powerpc/sparsemem.h +++ b/include/asm-powerpc/sparsemem.h | |||
| @@ -10,13 +10,8 @@ | |||
| 10 | */ | 10 | */ |
| 11 | #define SECTION_SIZE_BITS 24 | 11 | #define SECTION_SIZE_BITS 24 |
| 12 | 12 | ||
| 13 | #if defined(CONFIG_PS3_USE_LPAR_ADDR) | ||
| 14 | #define MAX_PHYSADDR_BITS 47 | ||
| 15 | #define MAX_PHYSMEM_BITS 47 | ||
| 16 | #else | ||
| 17 | #define MAX_PHYSADDR_BITS 44 | 13 | #define MAX_PHYSADDR_BITS 44 |
| 18 | #define MAX_PHYSMEM_BITS 44 | 14 | #define MAX_PHYSMEM_BITS 44 |
| 19 | #endif | ||
| 20 | 15 | ||
| 21 | #ifdef CONFIG_MEMORY_HOTPLUG | 16 | #ifdef CONFIG_MEMORY_HOTPLUG |
| 22 | extern void create_section_mapping(unsigned long start, unsigned long end); | 17 | extern void create_section_mapping(unsigned long start, unsigned long end); |
