mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: janitor@sternwelten.at
To: akpm@osdl.org
Cc: linux-kernel@vger.kernel.org, janitor@sternwelten.at,
	domen@coderock.org, rddunlap@osdl.org
Subject: [patch 04/11] Subject: ifdef typos: arch_ppc_syslib_ppc4xx_dma.c
Date: Tue, 30 Nov 2004 02:57:19 +0100	[thread overview]
Message-ID: <E1CYxGa-0002lo-0a@sputnik> (raw)



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);
_

                 reply	other threads:[~2004-11-30  1:58 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=E1CYxGa-0002lo-0a@sputnik \
    --to=janitor@sternwelten.at \
    --cc=akpm@osdl.org \
    --cc=domen@coderock.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=rddunlap@osdl.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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