mirror of
https://github.com/adulau/aha.git
synced 2025-01-01 13:46:24 +00:00
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>
This commit is contained in:
parent
c8d5ea8ccb
commit
d1800fe0e5
3 changed files with 0 additions and 15 deletions
|
@ -64,8 +64,6 @@ struct blackfin_pda { /* Per-processor Data Area */
|
||||||
|
|
||||||
extern struct blackfin_pda cpu_pda[];
|
extern struct blackfin_pda cpu_pda[];
|
||||||
|
|
||||||
void reserve_pda(void);
|
|
||||||
|
|
||||||
#endif /* __ASSEMBLY__ */
|
#endif /* __ASSEMBLY__ */
|
||||||
|
|
||||||
#endif /* _ASM_BLACKFIN_PDA_H */
|
#endif /* _ASM_BLACKFIN_PDA_H */
|
||||||
|
|
|
@ -369,9 +369,6 @@ static void __cpuinit setup_secondary(unsigned int cpu)
|
||||||
bfin_write_ILAT(ilat);
|
bfin_write_ILAT(ilat);
|
||||||
CSYNC();
|
CSYNC();
|
||||||
|
|
||||||
/* Reserve the PDA space for the secondary CPU. */
|
|
||||||
reserve_pda();
|
|
||||||
|
|
||||||
/* Enable interrupt levels IVG7-15. IARs have been already
|
/* Enable interrupt levels IVG7-15. IARs have been already
|
||||||
* programmed by the boot CPU. */
|
* programmed by the boot CPU. */
|
||||||
bfin_irq_flags |= IMASK_IVG15 |
|
bfin_irq_flags |= IMASK_IVG15 |
|
||||||
|
|
|
@ -134,12 +134,6 @@ asmlinkage void __init init_pda(void)
|
||||||
#endif
|
#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)
|
void __init mem_init(void)
|
||||||
{
|
{
|
||||||
unsigned int codek = 0, datak = 0, initk = 0;
|
unsigned int codek = 0, datak = 0, initk = 0;
|
||||||
|
@ -186,10 +180,6 @@ static int __init sram_init(void)
|
||||||
/* Initialize the blackfin L1 Memory. */
|
/* Initialize the blackfin L1 Memory. */
|
||||||
bfin_sram_init();
|
bfin_sram_init();
|
||||||
|
|
||||||
/* Reserve the PDA space for the boot CPU right after we
|
|
||||||
* initialized the scratch memory allocator.
|
|
||||||
*/
|
|
||||||
reserve_pda();
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
pure_initcall(sram_init);
|
pure_initcall(sram_init);
|
||||||
|
|
Loading…
Reference in a new issue