LKML Archive on lore.kernel.org
help / color / mirror / Atom feed
From: "Dan Williams" <dan.j.williams@intel.com>
To: "Zhang Wei" <Wei.Zhang@freescale.com>
Cc: "Olof Johansson" <olof@lixom.net>,
	sfr@canb.auug.org.au, linux-kernel@vger.kernel.org
Subject: Re: [PATCH] Fix fsldma.c warning messages when it's compiled underPPC64.
Date: Wed, 12 Mar 2008 09:29:58 -0700	[thread overview]
Message-ID: <e9c3a7c20803120929l41b9fec8m34db73d6e034461a@mail.gmail.com> (raw)
In-Reply-To: <ABF87B0B6A38C0458E319AC973ED68AECE526A@zch01exm26.fsl.freescale.net>

On Tue, Mar 11, 2008 at 7:10 PM, Zhang Wei <Wei.Zhang@freescale.com> wrote:
>  The reason is the val will be assigned to SR register, and SR register
>   is a 32-bit only register.

If this is the case then why not disable the driver for PPC_64?

diff --git a/drivers/dma/Kconfig b/drivers/dma/Kconfig
index 27340a7..89db937 100644
--- a/drivers/dma/Kconfig
+++ b/drivers/dma/Kconfig
@@ -40,6 +40,7 @@ config INTEL_IOP_ADMA
 config FSL_DMA
        bool "Freescale MPC85xx/MPC83xx DMA support"
        depends on PPC
+       depends on !PPC_64
        select DMA_ENGINE
        ---help---
          Enable support for the Freescale DMA engine. Now, it support

--
Dan

  reply	other threads:[~2008-03-12 16:30 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-03-10 10:47 [PATCH] Fix fsldma.c warning messages when it's compiled under PPC64 Zhang Wei
2008-03-10 19:09 ` Dan Williams
2008-03-11 14:22 ` Olof Johansson
2008-03-12  2:10   ` [PATCH] Fix fsldma.c warning messages when it's compiled underPPC64 Zhang Wei
2008-03-12 16:29     ` Dan Williams [this message]
2008-03-13  6:52       ` Zhang Wei
2008-03-18 18:23         ` Scott Wood
2008-03-19  1:52           ` Zhang Wei

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=e9c3a7c20803120929l41b9fec8m34db73d6e034461a@mail.gmail.com \
    --to=dan.j.williams@intel.com \
    --cc=Wei.Zhang@freescale.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=olof@lixom.net \
    --cc=sfr@canb.auug.org.au \
    --subject='Re: [PATCH] Fix fsldma.c warning messages when it'\''s compiled underPPC64.' \
    /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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).