diff options
author | Badari Pulavarty <pbadari@us.ibm.com> | 2008-03-27 20:37:21 -0400 |
---|---|---|
committer | Paul Mackerras <paulus@samba.org> | 2008-04-01 05:43:08 -0400 |
commit | 52db9b44262754bad1b0456d27a862a46cc7f893 (patch) | |
tree | 146cab5692c5bdc08ac18607e6e5f4626634ba7a /include/asm-powerpc/sparsemem.h | |
parent | 3faac21546f5b213cda490d45fe5927d713e44f1 (diff) |
[POWERPC] Add error return from htab_remove_mapping()
If the platform doesn't support hpte_removebolted(), gracefully
return failure rather than success.
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.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/asm-powerpc/sparsemem.h b/include/asm-powerpc/sparsemem.h index c5acf4ccf571..9aea8e9f0bd1 100644 --- a/include/asm-powerpc/sparsemem.h +++ b/include/asm-powerpc/sparsemem.h | |||
@@ -15,7 +15,7 @@ | |||
15 | 15 | ||
16 | #ifdef CONFIG_MEMORY_HOTPLUG | 16 | #ifdef CONFIG_MEMORY_HOTPLUG |
17 | extern void create_section_mapping(unsigned long start, unsigned long end); | 17 | extern void create_section_mapping(unsigned long start, unsigned long end); |
18 | extern void remove_section_mapping(unsigned long start, unsigned long end); | 18 | extern int remove_section_mapping(unsigned long start, unsigned long end); |
19 | #ifdef CONFIG_NUMA | 19 | #ifdef CONFIG_NUMA |
20 | extern int hot_add_scn_to_nid(unsigned long scn_addr); | 20 | extern int hot_add_scn_to_nid(unsigned long scn_addr); |
21 | #else | 21 | #else |