summaryrefslogtreecommitdiffstats
path: root/arch/blackfin/mm
diff options
context:
space:
mode:
authorGraf Yang <graf.yang@analog.com>2009-05-25 06:27:22 +0200
committerMike Frysinger <vapier@gentoo.org>2009-06-12 12:11:49 +0200
commitd1800fe0e50ed22673cd895f2b0a7c2b79d3010a (patch)
tree3f37fd9b1a49cfe3fc8e294c026c69804547715e /arch/blackfin/mm
parentBlackfin: update gptimers API (diff)
downloadlinux-d1800fe0e50ed22673cd895f2b0a7c2b79d3010a.tar.xz
linux-d1800fe0e50ed22673cd895f2b0a7c2b79d3010a.zip
Blackfin: drop unused reserve_pda() function
The Per-processor Data Area isn't actually reserved by this function, and all it ended up doing was issuing a printk(), so punt it. Signed-off-by: Graf Yang <graf.yang@analog.com> Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Diffstat (limited to 'arch/blackfin/mm')
-rw-r--r--arch/blackfin/mm/init.c10
1 files changed, 0 insertions, 10 deletions
diff --git a/arch/blackfin/mm/init.c b/arch/blackfin/mm/init.c
index 00543c813f4a..9a62b300a396 100644
--- a/arch/blackfin/mm/init.c
+++ b/arch/blackfin/mm/init.c
@@ -134,12 +134,6 @@ asmlinkage void __init init_pda(void)
#endif
}
-void __cpuinit reserve_pda(void)
-{
- printk(KERN_INFO "PDA for CPU%u reserved at %p\n", smp_processor_id(),
- &cpu_pda[smp_processor_id()]);
-}
-
void __init mem_init(void)
{
unsigned int codek = 0, datak = 0, initk = 0;
@@ -186,10 +180,6 @@ static int __init sram_init(void)
/* Initialize the blackfin L1 Memory. */
bfin_sram_init();
- /* Reserve the PDA space for the boot CPU right after we
- * initialized the scratch memory allocator.
- */
- reserve_pda();
return 0;
}
pure_initcall(sram_init);