]> err.no Git - linux-2.6/blobdiff - include/asm-arm/arch-ns9xxx/system.h
spi: spi_bfin: update handling of delay-after-deselect
[linux-2.6] / include / asm-arm / arch-ns9xxx / system.h
index e3cd4d31b3f3e7d50d811a07c1938bbf6a563801..c1082bd8977c73428dd0798b42c2eaf3c61371bd 100644 (file)
@@ -24,9 +24,9 @@ static inline void arch_reset(char mode)
 {
        u32 reg;
 
-       reg = SYS_PLL >> 16;
+       reg = __raw_readl(SYS_PLL) >> 16;
        REGSET(reg, SYS_PLL, SWC, YES);
-       SYS_PLL = reg;
+       __raw_writel(reg, SYS_PLL);
 
        BUG();
 }