aboutsummaryrefslogtreecommitdiffstats
path: root/arch/sparc64
diff options
context:
space:
mode:
authorAdrian Bunk <bunk@kernel.org>2008-05-05 15:38:58 -0400
committerDavid S. Miller <davem@davemloft.net>2008-05-05 15:38:58 -0400
commitabdefbdbd5c683ddcb1dd0d3dd414d02f078a5da (patch)
tree3c3af0c2b08b7542760a83b26995bff0b738f801 /arch/sparc64
parent8376005ea471762e7a5957d5b9e788121c0ba726 (diff)
sparc64: remove online_page()
The identical online_page() implementations from all architectures got moved to mm/memory_hotplug.c - except for the sparc64 one that even was dead code due to MEMORY_HOTPLUG not being available there. Signed-off-by: Adrian Bunk <bunk@kernel.org> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'arch/sparc64')
-rw-r--r--arch/sparc64/mm/init.c13
1 files changed, 0 insertions, 13 deletions
diff --git a/arch/sparc64/mm/init.c b/arch/sparc64/mm/init.c
index 4cad0b32b0af..db8e7fb5a3b9 100644
--- a/arch/sparc64/mm/init.c
+++ b/arch/sparc64/mm/init.c
@@ -2362,16 +2362,3 @@ void __flush_tlb_all(void)
2362 __asm__ __volatile__("wrpr %0, 0, %%pstate" 2362 __asm__ __volatile__("wrpr %0, 0, %%pstate"
2363 : : "r" (pstate)); 2363 : : "r" (pstate));
2364} 2364}
2365
2366#ifdef CONFIG_MEMORY_HOTPLUG
2367
2368void online_page(struct page *page)
2369{
2370 ClearPageReserved(page);
2371 init_page_count(page);
2372 __free_page(page);
2373 totalram_pages++;
2374 num_physpages++;
2375}
2376
2377#endif /* CONFIG_MEMORY_HOTPLUG */