projects
/
platform
/
kernel
/
linux-rpi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b6aec3a
)
ARM: pxa: use cpu_has_ipr() consistently in irq.c
author
Marek Vasut
<marek.vasut@gmail.com>
Sun, 9 Jan 2011 23:29:04 +0000
(
00:29
+0100)
committer
Eric Miao
<eric.y.miao@gmail.com>
Fri, 14 Jan 2011 16:21:05 +0000
(10:21 -0600)
Signed-off-by: Marek Vasut <marek.vasut@gmail.com>
Signed-off-by: Eric Miao <eric.y.miao@gmail.com>
arch/arm/mach-pxa/irq.c
patch
|
blob
|
history
diff --git
a/arch/arm/mach-pxa/irq.c
b/arch/arm/mach-pxa/irq.c
index
3f7f5bf
..
8f94700
100644
(file)
--- 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));