[rft/rfc/patch-2.6.28-rc3+ 26/59] omap: namespace cleanup to drivers/dsp/dspgateway/dsp.h

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



From: Felipe Balbi <felipe.balbi@xxxxxxxxx>

Signed-off-by: Felipe Balbi <felipe.balbi@xxxxxxxxx>
---
 drivers/dsp/dspgateway/dsp.h |   12 ++++++------
 1 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/drivers/dsp/dspgateway/dsp.h b/drivers/dsp/dspgateway/dsp.h
index 84e7cea..f27c344 100644
--- a/drivers/dsp/dspgateway/dsp.h
+++ b/drivers/dsp/dspgateway/dsp.h
@@ -259,15 +259,15 @@ extern struct omap_mmu dsp_mmu;
 #define DSPSPACE_SIZE	0x1000000
 
 #define omap_set_bit_regw(b,r) \
-	do { omap_writew(omap_readw(r) | (b), (r)); } while(0)
+	do { __raw_writew(__raw_readw(r) | (b), (r)); } while(0)
 #define omap_clr_bit_regw(b,r) \
-	do { omap_writew(omap_readw(r) & ~(b), (r)); } while(0)
+	do { __raw_writew(__raw_readw(r) & ~(b), (r)); } while(0)
 #define omap_set_bit_regl(b,r) \
-	do { omap_writel(omap_readl(r) | (b), (r)); } while(0)
+	do { __raw_writel(__raw_readl(r) | (b), (r)); } while(0)
 #define omap_clr_bit_regl(b,r) \
-	do { omap_writel(omap_readl(r) & ~(b), (r)); } while(0)
+	do { __raw_writel(__raw_readl(r) & ~(b), (r)); } while(0)
 #define omap_set_bits_regl(val,mask,r) \
-	do { omap_writel((omap_readl(r) & ~(mask)) | (val), (r)); } while(0)
+	do { __raw_writel((__raw_readl(r) & ~(mask)) | (val), (r)); } while(0)
 
 #define dspword_to_virt(dw)	((void *)(dspmem_base + ((dw) << 1)))
 #define dspbyte_to_virt(db)	((void *)(dspmem_base + (db)))
@@ -307,7 +307,7 @@ extern struct omap_mmu dsp_mmu;
  */
 #define tc_wordswap() \
 	do { \
-		omap_writel(TC_ENDIANISM_SWAP_WORD | TC_ENDIANISM_EN, \
+		__raw_writel(TC_ENDIANISM_SWAP_WORD | TC_ENDIANISM_EN, \
 			    TC_ENDIANISM); \
 	} while(0)
 
-- 
1.6.0.2.307.gc427

--
To unsubscribe from this list: send the line "unsubscribe linux-omap" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Arm (vger)]     [ARM Kernel]     [ARM MSM]     [Linux Tegra]     [Linux WPAN Networking]     [Linux Wireless Networking]     [Maemo Users]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite Trails]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux