t-kernel team mailing list archive
-
t-kernel team
-
Mailing list archive
-
Message #00045
[PATCH] icoll: raw_read --> in_w
From: Du Huanpeng <u74147@xxxxxxxxx>
Signed-off-by: Du Huanpeng <u74147@xxxxxxxxx>
---
tkernel_source/monitor/hwdepend/arm/mach-mx28/icoll.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/tkernel_source/monitor/hwdepend/arm/mach-mx28/icoll.c b/tkernel_source/monitor/hwdepend/arm/mach-mx28/icoll.c
index e95d2b1..b6cab58 100644
--- a/tkernel_source/monitor/hwdepend/arm/mach-mx28/icoll.c
+++ b/tkernel_source/monitor/hwdepend/arm/mach-mx28/icoll.c
@@ -41,7 +41,7 @@ static void icoll_ack_irq(unsigned int irq)
g_icoll_base + HW_ICOLL_LEVELACK);
/* Barrier */
- (void)__raw_readl(g_icoll_base + HW_ICOLL_STAT);
+ (void)in_w(g_icoll_base + HW_ICOLL_STAT);
}
static void icoll_mask_irq(unsigned int irq)
@@ -77,7 +77,7 @@ void __init avic_init_irq(void __iomem *base, int nr_irqs)
out_w(BM_ICOLL_CTRL_SFTRST, g_icoll_base + HW_ICOLL_CTRL_CLR);
for (i = 0; i < 100000; i++) {
- if (!(__raw_readl(g_icoll_base + HW_ICOLL_CTRL) &
+ if (!(in_w(g_icoll_base + HW_ICOLL_CTRL) &
BM_ICOLL_CTRL_SFTRST))
break;
udelay(2);
@@ -111,7 +111,7 @@ void __init avic_init_irq(void __iomem *base, int nr_irqs)
out_w(0, g_icoll_base + HW_ICOLL_VECTOR);
/* Barrier */
- (void)__raw_readl(g_icoll_base + HW_ICOLL_STAT);
+ (void)in_w(g_icoll_base + HW_ICOLL_STAT);
}
void mxs_set_irq_fiq(unsigned int irq, unsigned int type)
--
1.9.1
References