diff options
author | Graf Yang <graf.yang@analog.com> | 2009-05-25 06:44:00 +0200 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2009-06-12 12:11:50 +0200 |
commit | c72aa0794a0ecc0b87ba9d5546215c26c8c80668 (patch) | |
tree | 7bd394bac5e1aa831b21e6dafe9cb149e094887d /arch/blackfin/mm/init.c | |
parent | Blackfin: drop unused reserve_pda() function (diff) | |
download | linux-c72aa0794a0ecc0b87ba9d5546215c26c8c80668.tar.xz linux-c72aa0794a0ecc0b87ba9d5546215c26c8c80668.zip |
Blackfin: merge sram init functions
Now that the sram_init() function exists only to call the bfin_sram_init()
after the punting of the reserve_pda() function, simply merge the two to
avoid pointless overhead.
Signed-off-by: Graf Yang <graf.yang@analog.com>
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Diffstat (limited to 'arch/blackfin/mm/init.c')
-rw-r--r-- | arch/blackfin/mm/init.c | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/arch/blackfin/mm/init.c b/arch/blackfin/mm/init.c index 9a62b300a396..014a55abd09a 100644 --- a/arch/blackfin/mm/init.c +++ b/arch/blackfin/mm/init.c @@ -175,15 +175,6 @@ void __init mem_init(void) initk, codek, datak, DMA_UNCACHED_REGION >> 10, (reservedpages << (PAGE_SHIFT-10))); } -static int __init sram_init(void) -{ - /* Initialize the blackfin L1 Memory. */ - bfin_sram_init(); - - return 0; -} -pure_initcall(sram_init); - static void __init free_init_pages(const char *what, unsigned long begin, unsigned long end) { unsigned long addr; |