Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 62139
b: refs/heads/master
c: 90015c8
h: refs/heads/master
i:
  62137: 7fd2429
  62135: 0ad6fcd
v: v3
  • Loading branch information
Magnus Damm authored and Paul Mundt committed Jul 20, 2007
1 parent 097c1a9 commit 05ac103
Show file tree
Hide file tree
Showing 14 changed files with 16 additions and 27 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: 493a358e0a8992ec13098dd084223b55b05a7f03
refs/heads/master: 90015c89386ffb8967422fbe9f5e7babf1dc2c5e
2 changes: 1 addition & 1 deletion trunk/arch/sh/kernel/cpu/sh2/setup-sh7619.c
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ static struct ipr_desc ipr_irq_desc = {
},
};

void __init init_IRQ_ipr(void)
void __init plat_irq_setup(void)
{
register_ipr_controller(&ipr_irq_desc);
}
2 changes: 1 addition & 1 deletion trunk/arch/sh/kernel/cpu/sh2a/setup-sh7206.c
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ static struct ipr_desc ipr_irq_desc = {
},
};

void __init init_IRQ_ipr(void)
void __init plat_irq_setup(void)
{
register_ipr_controller(&ipr_irq_desc);
}
2 changes: 1 addition & 1 deletion trunk/arch/sh/kernel/cpu/sh3/setup-sh7705.c
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ static struct ipr_desc ipr_irq_desc = {
},
};

void __init init_IRQ_ipr(void)
void __init plat_irq_setup(void)
{
register_ipr_controller(&ipr_irq_desc);
}
2 changes: 1 addition & 1 deletion trunk/arch/sh/kernel/cpu/sh3/setup-sh7709.c
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ static struct ipr_desc ipr_irq_desc = {
},
};

void __init init_IRQ_ipr(void)
void __init plat_irq_setup(void)
{
register_ipr_controller(&ipr_irq_desc);
}
2 changes: 1 addition & 1 deletion trunk/arch/sh/kernel/cpu/sh3/setup-sh7710.c
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ static struct ipr_desc ipr_irq_desc = {
},
};

void __init init_IRQ_ipr(void)
void __init plat_irq_setup(void)
{
register_ipr_controller(&ipr_irq_desc);
}
2 changes: 1 addition & 1 deletion trunk/arch/sh/kernel/cpu/sh4/setup-sh7750.c
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ static struct ipr_desc ipr_irq_desc_sh7751 = {
};
#endif

void __init init_IRQ_ipr(void)
void __init plat_irq_setup(void)
{
register_ipr_controller(&ipr_irq_desc);
#ifdef CONFIG_CPU_SUBTYPE_SH7751
Expand Down
8 changes: 2 additions & 6 deletions trunk/arch/sh/kernel/cpu/sh4/setup-sh7760.c
Original file line number Diff line number Diff line change
Expand Up @@ -109,11 +109,6 @@ static struct intc2_desc intc2_irq_desc __read_mostly = {
},
};

void __init init_IRQ_intc2(void)
{
register_intc2_controller(&intc2_irq_desc);
}

static struct ipr_data ipr_irq_table[] = {
/* IRQ, IPR-idx, shift, priority */
{ 16, 0, 12, 2 }, /* TMU0 TUNI*/
Expand Down Expand Up @@ -163,7 +158,8 @@ static struct ipr_desc ipr_irq_desc = {
},
};

void __init init_IRQ_ipr(void)
void __init plat_irq_setup(void)
{
register_intc2_controller(&intc2_irq_desc);
register_ipr_controller(&ipr_irq_desc);
}
2 changes: 1 addition & 1 deletion trunk/arch/sh/kernel/cpu/sh4a/setup-sh7722.c
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,7 @@ static struct intc_sense_reg sense_registers[] = {
static DECLARE_INTC_DESC(intc_desc, "sh7722", vectors, groups, priorities,
mask_registers, prio_registers, sense_registers);

void __init init_IRQ_ipr(void)
void __init plat_irq_setup(void)
{
register_intc_controller(&intc_desc);
}
Expand Down
2 changes: 1 addition & 1 deletion trunk/arch/sh/kernel/cpu/sh4a/setup-sh7780.c
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ static struct intc2_desc intc2_irq_desc __read_mostly = {
},
};

void __init init_IRQ_intc2(void)
void __init plat_irq_setup(void)
{
register_intc2_controller(&intc2_irq_desc);
}
2 changes: 1 addition & 1 deletion trunk/arch/sh/kernel/cpu/sh4a/setup-sh7785.c
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ static struct intc2_desc intc2_irq_desc __read_mostly = {
},
};

void __init init_IRQ_intc2(void)
void __init plat_irq_setup(void)
{
register_intc2_controller(&intc2_irq_desc);
}
Expand Down
2 changes: 1 addition & 1 deletion trunk/arch/sh/kernel/cpu/sh4a/setup-shx3.c
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ static struct intc2_desc intc2_irq_desc __read_mostly = {
},
};

void __init init_IRQ_intc2(void)
void __init plat_irq_setup(void)
{
register_intc2_controller(&intc2_irq_desc);
}
9 changes: 1 addition & 8 deletions trunk/arch/sh/kernel/irq.c
Original file line number Diff line number Diff line change
Expand Up @@ -253,14 +253,7 @@ void __init init_IRQ(void)
#ifdef CONFIG_CPU_HAS_PINT_IRQ
init_IRQ_pint();
#endif

#ifdef CONFIG_CPU_HAS_INTC2_IRQ
init_IRQ_intc2();
#endif

#ifdef CONFIG_CPU_HAS_IPR_IRQ
init_IRQ_ipr();
#endif
plat_irq_setup();

/* Perform the machine specific initialisation */
if (sh_mv.mv_init_irq)
Expand Down
4 changes: 2 additions & 2 deletions trunk/include/asm-sh/hw_irq.h
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@ struct intc2_desc {
};

void register_intc2_controller(struct intc2_desc *);
void init_IRQ_intc2(void);

struct ipr_data {
unsigned char irq;
Expand All @@ -41,7 +40,6 @@ struct ipr_desc {
};

void register_ipr_controller(struct ipr_desc *);
void init_IRQ_ipr(void);

/*
* Enable individual interrupt mode for external IPR IRQs.
Expand Down Expand Up @@ -115,4 +113,6 @@ struct intc_desc symbol = { \

void __init register_intc_controller(struct intc_desc *desc);

void __init plat_irq_setup(void);

#endif /* __ASM_SH_HW_IRQ_H */

0 comments on commit 05ac103

Please sign in to comment.