aboutsummaryrefslogtreecommitdiff
path: root/include/asm-powerpc/sparsemem.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/asm-powerpc/sparsemem.h')
-rw-r--r--include/asm-powerpc/sparsemem.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/asm-powerpc/sparsemem.h b/include/asm-powerpc/sparsemem.h
index c5acf4ccf57..9aea8e9f0bd 100644
--- a/include/asm-powerpc/sparsemem.h
+++ b/include/asm-powerpc/sparsemem.h
@@ -15,7 +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);
+extern int remove_section_mapping(unsigned long start, unsigned long end);
#ifdef CONFIG_NUMA
extern int hot_add_scn_to_nid(unsigned long scn_addr);
#else