Replace the _raw-writel with writel_relaxed to fix issue with running tegra in big-endian. Tested on Jetson TK1. Signed-off-by: Bob Mottram <bob.mottram@xxxxxxxxxxxxxxx> --- arch/arm/mach-tegra/irq.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/mach-tegra/irq.c b/arch/arm/mach-tegra/irq.c index ab95f53..f4c2857 100644 --- a/arch/arm/mach-tegra/irq.c +++ b/arch/arm/mach-tegra/irq.c @@ -94,7 +94,7 @@ static inline void tegra_irq_write_mask(unsigned int irq, unsigned long reg) base = ictlr_reg_base[(irq - FIRST_LEGACY_IRQ) / 32]; mask = BIT((irq - FIRST_LEGACY_IRQ) % 32); - __raw_writel(mask, base + reg); + writel_relaxed(mask, base + reg); } static void tegra_mask(struct irq_data *d) -- 2.1.0 -- To unsubscribe from this list: send the line "unsubscribe linux-tegra" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html