mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [patch 04/11] Subject: ifdef typos: arch_ppc_syslib_ppc4xx_dma.c
@ 2004-11-30  1:57 janitor
  0 siblings, 0 replies; only message in thread
From: janitor @ 2004-11-30  1:57 UTC (permalink / raw)
  To: akpm; +Cc: linux-kernel, janitor, domen, rddunlap



ppc4xx_dma.h defines PPC4xx_DMA_64BIT.

Signed-off-by: Domen Puncer <domen@coderock.org>
Acked-by: Randy Dunlap <rddunlap@osdl.org>
Signed-off-by: Maximilian Attems <janitor@sternwelten.at>

---

 linux-2.6.10-rc2-bk13-max/arch/ppc/syslib/ppc4xx_dma.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff -puN arch/ppc/syslib/ppc4xx_dma.c~ifdef-arch_ppc_syslib_ppc4xx_dma arch/ppc/syslib/ppc4xx_dma.c
--- linux-2.6.10-rc2-bk13/arch/ppc/syslib/ppc4xx_dma.c~ifdef-arch_ppc_syslib_ppc4xx_dma	2004-11-30 02:41:35.000000000 +0100
+++ linux-2.6.10-rc2-bk13-max/arch/ppc/syslib/ppc4xx_dma.c	2004-11-30 02:41:35.000000000 +0100
@@ -48,7 +48,7 @@ ppc4xx_set_src_addr(int dmanr, phys_addr
 		return;
 	}
 
-#ifdef PPC4xx_DMA64BIT
+#ifdef PPC4xx_DMA_64BIT
 	mtdcr(DCRN_DMASAH0 + dmanr*2, (u32)(src_addr >> 32));
 #else
 	mtdcr(DCRN_DMASA0 + dmanr*2, (u32)src_addr);
@@ -63,7 +63,7 @@ ppc4xx_set_dst_addr(int dmanr, phys_addr
 		return;
 	}
 
-#ifdef PPC4xx_DMA64BIT
+#ifdef PPC4xx_DMA_64BIT
 	mtdcr(DCRN_DMADAH0 + dmanr*2, (u32)(dst_addr >> 32));
 #else
 	mtdcr(DCRN_DMADA0 + dmanr*2, (u32)dst_addr);
_

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2004-11-30  1:58 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-11-30  1:57 [patch 04/11] Subject: ifdef typos: arch_ppc_syslib_ppc4xx_dma.c janitor

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

Powered by JetHome