diff options
author | Mariusz Kozlowski <m.kozlowski@tuxland.pl> | 2006-12-01 23:19:59 -0500 |
---|---|---|
committer | David S. Miller <davem@sunset.davemloft.net> | 2006-12-10 05:40:36 -0500 |
commit | 5ff42459af99427a393e3b576a77a900d43e730a (patch) | |
tree | 9d844a6a9fa062ecdf16f3ecf14fd73b28f1b5d6 /include | |
parent | 35bca36cf7b20a73a89f87aab34b1b4dfff6bf08 (diff) |
[SPARC64]: dma remove extra brackets
Signed-off-by: Mariusz Kozlowski <m.kozlowski@tuxland.pl>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include')
-rw-r--r-- | include/asm-sparc64/dma.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/include/asm-sparc64/dma.h b/include/asm-sparc64/dma.h index 27f65972b3bb..93e5a062df88 100644 --- a/include/asm-sparc64/dma.h +++ b/include/asm-sparc64/dma.h | |||
@@ -152,9 +152,9 @@ extern void dvma_init(struct sbus_bus *); | |||
152 | #define DMA_MAXEND(addr) (0x01000000UL-(((unsigned long)(addr))&0x00ffffffUL)) | 152 | #define DMA_MAXEND(addr) (0x01000000UL-(((unsigned long)(addr))&0x00ffffffUL)) |
153 | 153 | ||
154 | /* Yes, I hack a lot of elisp in my spare time... */ | 154 | /* Yes, I hack a lot of elisp in my spare time... */ |
155 | #define DMA_ERROR_P(regs) (((sbus_readl((regs) + DMA_CSR) & DMA_HNDL_ERROR)) | 155 | #define DMA_ERROR_P(regs) ((sbus_readl((regs) + DMA_CSR) & DMA_HNDL_ERROR)) |
156 | #define DMA_IRQ_P(regs) (((sbus_readl((regs) + DMA_CSR)) & (DMA_HNDL_INTR | DMA_HNDL_ERROR))) | 156 | #define DMA_IRQ_P(regs) ((sbus_readl((regs) + DMA_CSR)) & (DMA_HNDL_INTR | DMA_HNDL_ERROR)) |
157 | #define DMA_WRITE_P(regs) (((sbus_readl((regs) + DMA_CSR) & DMA_ST_WRITE)) | 157 | #define DMA_WRITE_P(regs) ((sbus_readl((regs) + DMA_CSR) & DMA_ST_WRITE)) |
158 | #define DMA_OFF(__regs) \ | 158 | #define DMA_OFF(__regs) \ |
159 | do { u32 tmp = sbus_readl((__regs) + DMA_CSR); \ | 159 | do { u32 tmp = sbus_readl((__regs) + DMA_CSR); \ |
160 | tmp &= ~DMA_ENABLE; \ | 160 | tmp &= ~DMA_ENABLE; \ |