aboutsummaryrefslogtreecommitdiffstats
path: root/include/asm-powerpc/sparsemem.h
diff options
context:
space:
mode:
authorJeff Garzik <jgarzik@pobox.com>2005-11-11 23:39:35 -0500
committerJeff Garzik <jgarzik@pobox.com>2005-11-11 23:39:35 -0500
commitf4256e301d9800b1e0276404cb01b3ac85b51067 (patch)
tree975f56627b78f757608b31684311a24ca1478481 /include/asm-powerpc/sparsemem.h
parentfb2a26b9f8f5eda6b96ba9753edf105e5999d6d9 (diff)
parentcd52d1ee9a92587b242d946a2300a3245d3b885a (diff)
downloadkernel_samsung_tuna-f4256e301d9800b1e0276404cb01b3ac85b51067.zip
kernel_samsung_tuna-f4256e301d9800b1e0276404cb01b3ac85b51067.tar.gz
kernel_samsung_tuna-f4256e301d9800b1e0276404cb01b3ac85b51067.tar.bz2
Merge branch 'master'
Diffstat (limited to 'include/asm-powerpc/sparsemem.h')
-rw-r--r--include/asm-powerpc/sparsemem.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/include/asm-powerpc/sparsemem.h b/include/asm-powerpc/sparsemem.h
index 1c95ab9..ba1b34f 100644
--- a/include/asm-powerpc/sparsemem.h
+++ b/include/asm-powerpc/sparsemem.h
@@ -8,8 +8,12 @@
* MAX_PHYSMEM_BITS 2^N: how much memory we can have in that space
*/
#define SECTION_SIZE_BITS 24
-#define MAX_PHYSADDR_BITS 38
-#define MAX_PHYSMEM_BITS 36
+#define MAX_PHYSADDR_BITS 44
+#define MAX_PHYSMEM_BITS 44
+
+#ifdef CONFIG_MEMORY_HOTPLUG
+extern void create_section_mapping(unsigned long start, unsigned long end);
+#endif /* CONFIG_MEMORY_HOTPLUG */
#endif /* CONFIG_SPARSEMEM */