diff options
author | Marek Vasut <marek.vasut@gmail.com> | 2011-01-10 00:29:04 +0100 |
---|---|---|
committer | Eric Miao <eric.y.miao@gmail.com> | 2011-01-14 10:21:05 -0600 |
commit | 57879b8c40d4c254f1feba3adbeb69614fe5e4c9 (patch) | |
tree | 44573f31d87cdf1c772add453eed914813782183 /arch/arm/mach-pxa | |
parent | b6aec3a5d6d8e898baef3ed0d1b2911ee5e718a3 (diff) | |
download | op-kernel-dev-57879b8c40d4c254f1feba3adbeb69614fe5e4c9.zip op-kernel-dev-57879b8c40d4c254f1feba3adbeb69614fe5e4c9.tar.gz |
ARM: pxa: use cpu_has_ipr() consistently in irq.c
Signed-off-by: Marek Vasut <marek.vasut@gmail.com>
Signed-off-by: Eric Miao <eric.y.miao@gmail.com>
Diffstat (limited to 'arch/arm/mach-pxa')
-rw-r--r-- | 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 3f7f5bf..8f94700 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)); |