diff options
Diffstat (limited to 'target/linux/lantiq/patches-3.8/0019-MIPS-lantiq-rework-external-irq-code.patch')
-rw-r--r-- | target/linux/lantiq/patches-3.8/0019-MIPS-lantiq-rework-external-irq-code.patch | 15 |
1 files changed, 4 insertions, 11 deletions
diff --git a/target/linux/lantiq/patches-3.8/0019-MIPS-lantiq-rework-external-irq-code.patch b/target/linux/lantiq/patches-3.8/0019-MIPS-lantiq-rework-external-irq-code.patch index f976765..c78d738 100644 --- a/target/linux/lantiq/patches-3.8/0019-MIPS-lantiq-rework-external-irq-code.patch +++ b/target/linux/lantiq/patches-3.8/0019-MIPS-lantiq-rework-external-irq-code.patch @@ -14,8 +14,6 @@ Patchwork: http://patchwork.linux-mips.org/patch/4818/ arch/mips/lantiq/irq.c | 105 +++++++++++++++++++--------- 2 files changed, 74 insertions(+), 32 deletions(-) -diff --git a/arch/mips/include/asm/mach-lantiq/lantiq.h b/arch/mips/include/asm/mach-lantiq/lantiq.h -index 76be7a0..f196cce 100644 --- a/arch/mips/include/asm/mach-lantiq/lantiq.h +++ b/arch/mips/include/asm/mach-lantiq/lantiq.h @@ -34,6 +34,7 @@ extern spinlock_t ebu_lock; @@ -26,8 +24,6 @@ index 76be7a0..f196cce 100644 /* clock handling */ extern int clk_activate(struct clk *clk); -diff --git a/arch/mips/lantiq/irq.c b/arch/mips/lantiq/irq.c -index a7935bf..5119487 100644 --- a/arch/mips/lantiq/irq.c +++ b/arch/mips/lantiq/irq.c @@ -33,17 +33,10 @@ @@ -151,7 +147,7 @@ index a7935bf..5119487 100644 /* enable */ ltq_eiu_w32(ltq_eiu_r32(LTQ_EIU_EXIN_INEN) | BIT(i), LTQ_EIU_EXIN_INEN); -@@ -157,7 +195,7 @@ static void ltq_shutdown_eiu_irq(struct irq_data *d) +@@ -157,7 +195,7 @@ static void ltq_shutdown_eiu_irq(struct ltq_disable_irq(d); for (i = 0; i < MAX_EIU; i++) { @@ -168,7 +164,7 @@ index a7935bf..5119487 100644 }; static void ltq_hw_irqdispatch(int module) -@@ -301,7 +340,7 @@ static int icu_map(struct irq_domain *d, unsigned int irq, irq_hw_number_t hw) +@@ -301,7 +340,7 @@ static int icu_map(struct irq_domain *d, return 0; for (i = 0; i < exin_avail; i++) @@ -177,7 +173,7 @@ index a7935bf..5119487 100644 chip = <q_eiu_type; irq_set_chip_and_handler(hw, chip, handle_level_irq); -@@ -323,7 +362,7 @@ int __init icu_of_init(struct device_node *node, struct device_node *parent) +@@ -323,7 +362,7 @@ int __init icu_of_init(struct device_nod { struct device_node *eiu_node; struct resource res; @@ -186,7 +182,7 @@ index a7935bf..5119487 100644 for (i = 0; i < MAX_IM; i++) { if (of_address_to_resource(node, i, &res)) -@@ -340,17 +379,19 @@ int __init icu_of_init(struct device_node *node, struct device_node *parent) +@@ -340,17 +379,19 @@ int __init icu_of_init(struct device_nod } /* the external interrupts are optional and xway only */ @@ -211,6 +207,3 @@ index a7935bf..5119487 100644 if (request_mem_region(res.start, resource_size(&res), res.name) < 0) pr_err("Failed to request eiu memory"); --- -1.7.10.4 - |