summaryrefslogtreecommitdiffstats
path: root/include/asm-powerpc/sparsemem.h
diff options
context:
space:
mode:
authorBadari Pulavarty <pbadari@us.ibm.com>2008-01-29 09:19:24 +1100
committerPaul Mackerras <paulus@samba.org>2008-02-26 22:17:03 +1100
commitf8c8803bda4db47cbbdadb9b27b024e903e1d645 (patch)
tree394411edf1626257193e904e25a4dc763528e34f /include/asm-powerpc/sparsemem.h
parentf8303dd3db57bd7ab2062985ad7a9e898a8ac423 (diff)
[POWERPC] Add code for removing HPTEs for parts of the linear mapping
For memory remove, we need to clean up htab mappings for the section of the memory we are removing. This implements support for removing htab bolted mappings for pSeries logical partitions. Other sub-archs may need to implement similar functionality for hotplug memory remove to work on them. Signed-off-by: Badari Pulavarty <pbadari@us.ibm.com> Signed-off-by: Paul Mackerras <paulus@samba.org>
Diffstat (limited to 'include/asm-powerpc/sparsemem.h')
-rw-r--r--include/asm-powerpc/sparsemem.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/asm-powerpc/sparsemem.h b/include/asm-powerpc/sparsemem.h
index e8b493d52b4..c5acf4ccf57 100644
--- a/include/asm-powerpc/sparsemem.h
+++ b/include/asm-powerpc/sparsemem.h
@@ -15,6 +15,7 @@
#ifdef CONFIG_MEMORY_HOTPLUG
extern void create_section_mapping(unsigned long start, unsigned long end);
+extern void remove_section_mapping(unsigned long start, unsigned long end);
#ifdef CONFIG_NUMA
extern int hot_add_scn_to_nid(unsigned long scn_addr);
#else