summaryrefslogtreecommitdiff
path: root/include/asm-powerpc/sparsemem.h
diff options
context:
space:
mode:
authorGeoff Levand <geoffrey.levand@am.sony.com>2008-01-18 23:32:59 +0300
committerPaul Mackerras <paulus@samba.org>2008-01-25 14:52:53 +0300
commita628df1e9dd0d3de540bf0b7d8c6ea4896539bbb (patch)
treecbd275f7af5a082deda36dd20aa09abfd8e7010b /include/asm-powerpc/sparsemem.h
parentc4e6752dd4f249d6797146d655973bc0bde4c26e (diff)
downloadlinux-a628df1e9dd0d3de540bf0b7d8c6ea4896539bbb.tar.xz
[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/sparsemem.h')
-rw-r--r--include/asm-powerpc/sparsemem.h5
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 @@
*/
#define SECTION_SIZE_BITS 24
-#if defined(CONFIG_PS3_USE_LPAR_ADDR)
-#define MAX_PHYSADDR_BITS 47
-#define MAX_PHYSMEM_BITS 47
-#else
#define MAX_PHYSADDR_BITS 44
#define MAX_PHYSMEM_BITS 44
-#endif
#ifdef CONFIG_MEMORY_HOTPLUG
extern void create_section_mapping(unsigned long start, unsigned long end);