Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 318949
b: refs/heads/master
c: d884297
h: refs/heads/master
i:
  318947: d47cc84
v: v3
  • Loading branch information
Sam Ravnborg authored and David S. Miller committed Jul 26, 2012
1 parent 4b9ff21 commit ab6800d
Show file tree
Hide file tree
Showing 4 changed files with 1 addition and 20 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: 1b6d06d820df6822416270f46af57f5964137b42
refs/heads/master: d884297acac228f15a793850be167ba8f9dd3818
1 change: 0 additions & 1 deletion trunk/arch/sparc/include/asm/leon.h
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,6 @@ static inline unsigned long leon_load_reg(unsigned long paddr)
#define LEON_BYPASS_LOAD_PA(x) leon_load_reg((unsigned long)(x))
#define LEON_BYPASS_STORE_PA(x, v) leon_store_reg((unsigned long)(x), (unsigned long)(v))

extern void leon_init(void);
extern void leon_switch_mm(void);
extern void leon_init_IRQ(void);

Expand Down
16 changes: 0 additions & 16 deletions trunk/arch/sparc/kernel/leon_kernel.c
Original file line number Diff line number Diff line change
Expand Up @@ -486,17 +486,6 @@ void __init leon_trans_init(struct device_node *dp)
}
}

void __initdata (*prom_amba_init)(struct device_node *dp, struct device_node ***nextp) = 0;

void __init leon_node_init(struct device_node *dp, struct device_node ***nextp)
{
if (prom_amba_init &&
strcmp(dp->type, "ambapp") == 0 &&
strcmp(dp->name, "ambapp0") == 0) {
prom_amba_init(dp, nextp);
}
}

#ifdef CONFIG_SMP
void leon_clear_profile_irq(int cpu)
{
Expand All @@ -522,8 +511,3 @@ void __init leon_init_IRQ(void)
sparc_config.clear_clock_irq = leon_clear_clock_irq;
sparc_config.load_profile_irq = leon_load_profile_irq;
}

void __init leon_init(void)
{
of_pdt_build_more = &leon_node_init;
}
2 changes: 0 additions & 2 deletions trunk/arch/sparc/mm/init_32.c
Original file line number Diff line number Diff line change
Expand Up @@ -294,8 +294,6 @@ void __init paging_init(void)
{
switch(sparc_cpu_model) {
case sparc_leon:
leon_init();
/* fall through */
case sun4m:
case sun4d:
srmmu_paging_init();
Expand Down

0 comments on commit ab6800d

Please sign in to comment.