Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 148572
b: refs/heads/master
c: d1800fe
h: refs/heads/master
v: v3
  • Loading branch information
Graf Yang authored and Mike Frysinger committed Jun 12, 2009
1 parent d1a4395 commit 9e764c7
Show file tree
Hide file tree
Showing 4 changed files with 1 addition and 16 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: c8d5ea8ccb1ce586131c6c549899cb5073222da0
refs/heads/master: d1800fe0e50ed22673cd895f2b0a7c2b79d3010a
2 changes: 0 additions & 2 deletions trunk/arch/blackfin/include/asm/pda.h
Original file line number Diff line number Diff line change
Expand Up @@ -64,8 +64,6 @@ struct blackfin_pda { /* Per-processor Data Area */

extern struct blackfin_pda cpu_pda[];

void reserve_pda(void);

#endif /* __ASSEMBLY__ */

#endif /* _ASM_BLACKFIN_PDA_H */
3 changes: 0 additions & 3 deletions trunk/arch/blackfin/mach-common/smp.c
Original file line number Diff line number Diff line change
Expand Up @@ -369,9 +369,6 @@ static void __cpuinit setup_secondary(unsigned int cpu)
bfin_write_ILAT(ilat);
CSYNC();

/* Reserve the PDA space for the secondary CPU. */
reserve_pda();

/* Enable interrupt levels IVG7-15. IARs have been already
* programmed by the boot CPU. */
bfin_irq_flags |= IMASK_IVG15 |
Expand Down
10 changes: 0 additions & 10 deletions trunk/arch/blackfin/mm/init.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -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);
Expand Down

0 comments on commit 9e764c7

Please sign in to comment.