Skip to content

Commit

Permalink
Merge branch 'imx/compile-fixes' of git://git.linaro.org/people/shawn…
Browse files Browse the repository at this point in the history
…guo/linux-2.6 into fixes
  • Loading branch information
Olof Johansson committed Nov 9, 2011
2 parents 22d3832 + 15394ca commit 45ff6fa
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 12 deletions.
2 changes: 2 additions & 0 deletions arch/arm/mach-mx5/clock-mx51-mx53.c
Original file line number Diff line number Diff line change
Expand Up @@ -1634,6 +1634,7 @@ int __init mx53_clocks_init(unsigned long ckil, unsigned long osc,
return 0;
}

#ifdef CONFIG_OF
static void __init clk_get_freq_dt(unsigned long *ckil, unsigned long *osc,
unsigned long *ckih1, unsigned long *ckih2)
{
Expand Down Expand Up @@ -1671,3 +1672,4 @@ int __init mx53_clocks_init_dt(void)
clk_get_freq_dt(&ckil, &osc, &ckih1, &ckih2);
return mx53_clocks_init(ckil, osc, ckih1, ckih2);
}
#endif
1 change: 1 addition & 0 deletions arch/arm/plat-mxc/avic.c
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
#include <linux/io.h>
#include <mach/common.h>
#include <asm/mach/irq.h>
#include <asm/exception.h>
#include <mach/hardware.h>

#include "irq-common.h"
Expand Down
11 changes: 2 additions & 9 deletions arch/arm/plat-mxc/gic.c
Original file line number Diff line number Diff line change
Expand Up @@ -28,21 +28,14 @@ asmlinkage void __exception_irq_entry gic_handle_irq(struct pt_regs *regs)
if (irqnr == 1023)
break;

if (irqnr > 29 && irqnr < 1021)
if (irqnr > 15 && irqnr < 1021)
handle_IRQ(irqnr, regs);
#ifdef CONFIG_SMP
else if (irqnr < 16) {
else {
writel_relaxed(irqstat, gic_cpu_base_addr +
GIC_CPU_EOI);
handle_IPI(irqnr, regs);
}
#endif
#ifdef CONFIG_LOCAL_TIMERS
else if (irqnr == 29) {
writel_relaxed(irqstat, gic_cpu_base_addr +
GIC_CPU_EOI);
handle_local_timer(regs);
}
#endif
} while (1);
}
3 changes: 0 additions & 3 deletions arch/arm/plat-mxc/include/mach/entry-macro.S
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,3 @@

.macro test_for_ipi, irqnr, irqstat, base, tmp
.endm

.macro test_for_ltirq, irqnr, irqstat, base, tmp
.endm
1 change: 1 addition & 0 deletions arch/arm/plat-mxc/tzic.c
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
#include <linux/io.h>

#include <asm/mach/irq.h>
#include <asm/exception.h>

#include <mach/hardware.h>
#include <mach/common.h>
Expand Down

0 comments on commit 45ff6fa

Please sign in to comment.