[PATCH 3/5] ARM: pxa: Use cpu_has_ipr() consistently in irq.c
Eric Miao
eric.y.miao at gmail.com
Mon Jan 10 17:43:44 EST 2011
On Sun, Jan 9, 2011 at 5:29 PM, Marek Vasut <marek.vasut at gmail.com> wrote:
> Signed-off-by: Marek Vasut <marek.vasut at gmail.com>
Applied.
> ---
> arch/arm/mach-pxa/irq.c | 2 +-
> 1 files changed, 1 insertions(+), 1 deletions(-)
>
> diff --git a/arch/arm/mach-pxa/irq.c b/arch/arm/mach-pxa/irq.c
> index 54e91c9..78f0e0c 100644
> --- a/arch/arm/mach-pxa/irq.c
> +++ b/arch/arm/mach-pxa/irq.c
> @@ -226,7 +226,7 @@ static int pxa_irq_resume(struct sys_device *dev)
> __raw_writel(0, base + ICLR);
> }
>
> - if (!cpu_is_pxa25x())
> + if (cpu_has_ipr())
> for (i = 0; i < pxa_internal_irq_nr; i++)
> __raw_writel(saved_ipr[i], IRQ_BASE + IPR(i));
>
> --
> 1.7.2.3
>
>
More information about the linux-arm-kernel
mailing list