Commit a2ea599b authored by Maximilian Attems's avatar Maximilian Attems Committed by Linus Torvalds

[PATCH] ifdef typos: arch_ppc_syslib_ppc4xx_dma.c

ppc4xx_dma.h defines PPC4xx_DMA_64BIT.
Signed-off-by: default avatarDomen Puncer <domen@coderock.org>
Acked-by: default avatarRandy Dunlap <rddunlap@osdl.org>
Signed-off-by: default avatarMaximilian Attems <janitor@sternwelten.at>
Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
parent 485370d5
...@@ -48,7 +48,7 @@ ppc4xx_set_src_addr(int dmanr, phys_addr_t src_addr) ...@@ -48,7 +48,7 @@ ppc4xx_set_src_addr(int dmanr, phys_addr_t src_addr)
return; return;
} }
#ifdef PPC4xx_DMA64BIT #ifdef PPC4xx_DMA_64BIT
mtdcr(DCRN_DMASAH0 + dmanr*2, (u32)(src_addr >> 32)); mtdcr(DCRN_DMASAH0 + dmanr*2, (u32)(src_addr >> 32));
#else #else
mtdcr(DCRN_DMASA0 + dmanr*2, (u32)src_addr); mtdcr(DCRN_DMASA0 + dmanr*2, (u32)src_addr);
...@@ -63,7 +63,7 @@ ppc4xx_set_dst_addr(int dmanr, phys_addr_t dst_addr) ...@@ -63,7 +63,7 @@ ppc4xx_set_dst_addr(int dmanr, phys_addr_t dst_addr)
return; return;
} }
#ifdef PPC4xx_DMA64BIT #ifdef PPC4xx_DMA_64BIT
mtdcr(DCRN_DMADAH0 + dmanr*2, (u32)(dst_addr >> 32)); mtdcr(DCRN_DMADAH0 + dmanr*2, (u32)(dst_addr >> 32));
#else #else
mtdcr(DCRN_DMADA0 + dmanr*2, (u32)dst_addr); mtdcr(DCRN_DMADA0 + dmanr*2, (u32)dst_addr);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment