diff options
| author | Olof Johansson <olof@lixom.net> | 2011-11-09 11:59:30 -0500 |
|---|---|---|
| committer | Olof Johansson <olof@lixom.net> | 2011-11-09 11:59:30 -0500 |
| commit | 45ff6fa1adf81f72e4815f0a993a644467b7b185 (patch) | |
| tree | 33832a3f9eb2d03340958578a065561488562f17 | |
| parent | 22d3832373e4965f11240dc8d7a0c512bd873437 (diff) | |
| parent | 15394cad2747ea2d98fc88ccb464973e173cd2f8 (diff) | |
Merge branch 'imx/compile-fixes' of git://git.linaro.org/people/shawnguo/linux-2.6 into fixes
| -rw-r--r-- | arch/arm/mach-mx5/clock-mx51-mx53.c | 2 | ||||
| -rw-r--r-- | arch/arm/plat-mxc/avic.c | 1 | ||||
| -rw-r--r-- | arch/arm/plat-mxc/gic.c | 11 | ||||
| -rw-r--r-- | arch/arm/plat-mxc/include/mach/entry-macro.S | 3 | ||||
| -rw-r--r-- | arch/arm/plat-mxc/tzic.c | 1 |
5 files changed, 6 insertions, 12 deletions
diff --git a/arch/arm/mach-mx5/clock-mx51-mx53.c b/arch/arm/mach-mx5/clock-mx51-mx53.c index 2aacf41c48e7..6312425c0056 100644 --- a/arch/arm/mach-mx5/clock-mx51-mx53.c +++ b/arch/arm/mach-mx5/clock-mx51-mx53.c | |||
| @@ -1634,6 +1634,7 @@ int __init mx53_clocks_init(unsigned long ckil, unsigned long osc, | |||
| 1634 | return 0; | 1634 | return 0; |
| 1635 | } | 1635 | } |
| 1636 | 1636 | ||
| 1637 | #ifdef CONFIG_OF | ||
| 1637 | static void __init clk_get_freq_dt(unsigned long *ckil, unsigned long *osc, | 1638 | static void __init clk_get_freq_dt(unsigned long *ckil, unsigned long *osc, |
| 1638 | unsigned long *ckih1, unsigned long *ckih2) | 1639 | unsigned long *ckih1, unsigned long *ckih2) |
| 1639 | { | 1640 | { |
| @@ -1671,3 +1672,4 @@ int __init mx53_clocks_init_dt(void) | |||
| 1671 | clk_get_freq_dt(&ckil, &osc, &ckih1, &ckih2); | 1672 | clk_get_freq_dt(&ckil, &osc, &ckih1, &ckih2); |
| 1672 | return mx53_clocks_init(ckil, osc, ckih1, ckih2); | 1673 | return mx53_clocks_init(ckil, osc, ckih1, ckih2); |
| 1673 | } | 1674 | } |
| 1675 | #endif | ||
diff --git a/arch/arm/plat-mxc/avic.c b/arch/arm/plat-mxc/avic.c index 8875fb415f68..55f15699a383 100644 --- a/arch/arm/plat-mxc/avic.c +++ b/arch/arm/plat-mxc/avic.c | |||
| @@ -22,6 +22,7 @@ | |||
| 22 | #include <linux/io.h> | 22 | #include <linux/io.h> |
| 23 | #include <mach/common.h> | 23 | #include <mach/common.h> |
| 24 | #include <asm/mach/irq.h> | 24 | #include <asm/mach/irq.h> |
| 25 | #include <asm/exception.h> | ||
| 25 | #include <mach/hardware.h> | 26 | #include <mach/hardware.h> |
| 26 | 27 | ||
| 27 | #include "irq-common.h" | 28 | #include "irq-common.h" |
diff --git a/arch/arm/plat-mxc/gic.c b/arch/arm/plat-mxc/gic.c index b3b8eed263b8..12f8f8109010 100644 --- a/arch/arm/plat-mxc/gic.c +++ b/arch/arm/plat-mxc/gic.c | |||
| @@ -28,21 +28,14 @@ asmlinkage void __exception_irq_entry gic_handle_irq(struct pt_regs *regs) | |||
| 28 | if (irqnr == 1023) | 28 | if (irqnr == 1023) |
| 29 | break; | 29 | break; |
| 30 | 30 | ||
| 31 | if (irqnr > 29 && irqnr < 1021) | 31 | if (irqnr > 15 && irqnr < 1021) |
| 32 | handle_IRQ(irqnr, regs); | 32 | handle_IRQ(irqnr, regs); |
| 33 | #ifdef CONFIG_SMP | 33 | #ifdef CONFIG_SMP |
| 34 | else if (irqnr < 16) { | 34 | else { |
| 35 | writel_relaxed(irqstat, gic_cpu_base_addr + | 35 | writel_relaxed(irqstat, gic_cpu_base_addr + |
| 36 | GIC_CPU_EOI); | 36 | GIC_CPU_EOI); |
| 37 | handle_IPI(irqnr, regs); | 37 | handle_IPI(irqnr, regs); |
| 38 | } | 38 | } |
| 39 | #endif | 39 | #endif |
| 40 | #ifdef CONFIG_LOCAL_TIMERS | ||
| 41 | else if (irqnr == 29) { | ||
| 42 | writel_relaxed(irqstat, gic_cpu_base_addr + | ||
| 43 | GIC_CPU_EOI); | ||
| 44 | handle_local_timer(regs); | ||
| 45 | } | ||
| 46 | #endif | ||
| 47 | } while (1); | 40 | } while (1); |
| 48 | } | 41 | } |
diff --git a/arch/arm/plat-mxc/include/mach/entry-macro.S b/arch/arm/plat-mxc/include/mach/entry-macro.S index 9fe0dfcf4e7e..ca5cf26a04b1 100644 --- a/arch/arm/plat-mxc/include/mach/entry-macro.S +++ b/arch/arm/plat-mxc/include/mach/entry-macro.S | |||
| @@ -25,6 +25,3 @@ | |||
| 25 | 25 | ||
| 26 | .macro test_for_ipi, irqnr, irqstat, base, tmp | 26 | .macro test_for_ipi, irqnr, irqstat, base, tmp |
| 27 | .endm | 27 | .endm |
| 28 | |||
| 29 | .macro test_for_ltirq, irqnr, irqstat, base, tmp | ||
| 30 | .endm | ||
diff --git a/arch/arm/plat-mxc/tzic.c b/arch/arm/plat-mxc/tzic.c index e993a184189a..a3c164c7ba82 100644 --- a/arch/arm/plat-mxc/tzic.c +++ b/arch/arm/plat-mxc/tzic.c | |||
| @@ -17,6 +17,7 @@ | |||
| 17 | #include <linux/io.h> | 17 | #include <linux/io.h> |
| 18 | 18 | ||
| 19 | #include <asm/mach/irq.h> | 19 | #include <asm/mach/irq.h> |
| 20 | #include <asm/exception.h> | ||
| 20 | 21 | ||
| 21 | #include <mach/hardware.h> | 22 | #include <mach/hardware.h> |
| 22 | #include <mach/common.h> | 23 | #include <mach/common.h> |
