diff options
author | Badari Pulavarty <pbadari@us.ibm.com> | 2008-01-29 09:19:24 +1100 |
---|---|---|
committer | Paul Mackerras <paulus@samba.org> | 2008-02-26 22:17:03 +1100 |
commit | f8c8803bda4db47cbbdadb9b27b024e903e1d645 (patch) | |
tree | 394411edf1626257193e904e25a4dc763528e34f /include/asm-powerpc/machdep.h | |
parent | f8303dd3db57bd7ab2062985ad7a9e898a8ac423 (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/machdep.h')
-rw-r--r-- | include/asm-powerpc/machdep.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/asm-powerpc/machdep.h b/include/asm-powerpc/machdep.h index 0872ec228c1..b95386aed50 100644 --- a/include/asm-powerpc/machdep.h +++ b/include/asm-powerpc/machdep.h @@ -68,6 +68,8 @@ struct machdep_calls { unsigned long vflags, int psize, int ssize); long (*hpte_remove)(unsigned long hpte_group); + void (*hpte_removebolted)(unsigned long ea, + int psize, int ssize); void (*flush_hash_range)(unsigned long number, int local); /* special for kexec, to be called in real mode, linar mapping is |