linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Geert Uytterhoeven <geert@linux-m68k.org>
To: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
Cc: akpm@linux-foundation.org, linux-kernel@vger.kernel.org,
	Roman Zippel <zippel@linux-m68k.org>,
	"Linux/m68k" <linux-m68k@vger.kernel.org>
Subject: Re: [PATCH -mm 06/12] m68k: use asm-generic/scatterlist.h
Date: Fri, 23 Apr 2010 10:29:04 +0200	[thread overview]
Message-ID: <p2q10f740e81004230129rd5b07889m5ec7f453efd46403@mail.gmail.com> (raw)
In-Reply-To: <1270511567-18567-7-git-send-email-fujita.tomonori@lab.ntt.co.jp>

On Tue, Apr 6, 2010 at 01:52, FUJITA Tomonori
<fujita.tomonori@lab.ntt.co.jp> wrote:
> Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
> Cc: Geert Uytterhoeven <geert@linux-m68k.org>
> Cc: Roman Zippel <zippel@linux-m68k.org>
> ---
>  arch/m68k/include/asm/scatterlist.h |   16 +---------------
>  1 files changed, 1 insertions(+), 15 deletions(-)
>
> diff --git a/arch/m68k/include/asm/scatterlist.h b/arch/m68k/include/asm/scatterlist.h
> index e27ad90..175da06 100644
> --- a/arch/m68k/include/asm/scatterlist.h
> +++ b/arch/m68k/include/asm/scatterlist.h
> @@ -1,23 +1,9 @@
>  #ifndef _M68K_SCATTERLIST_H
>  #define _M68K_SCATTERLIST_H
>
> -#include <linux/types.h>
> -
> -struct scatterlist {
> -#ifdef CONFIG_DEBUG_SG
> -       unsigned long sg_magic;
> -#endif
> -       unsigned long page_link;
> -       unsigned int offset;
> -       unsigned int length;
> -
> -       dma_addr_t dma_address; /* A place to hang host-specific addresses at. */
> -};
> +#include <asm-generic/scatterlist.h>

This include should be ...

>  /* This is bogus and should go away. */
>  #define ISA_DMA_THRESHOLD (0x00ffffff)

... below this definition, else you get duplicate definition errors
(and the wrong definition).

> -#define sg_dma_address(sg)     ((sg)->dma_address)
> -#define sg_dma_len(sg)         ((sg)->length)
> -
>  #endif /* !(_M68K_SCATTERLIST_H) */
> --
> 1.7.0

Will apply (incl. the fix).

Gr{oetje,eeting}s,

						Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
							    -- Linus Torvalds

  reply	other threads:[~2010-04-23  8:29 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-04-05 23:52 [PATCH -mm 00/12] use asm-generic/scatterlist.h on every architecture (the second half) FUJITA Tomonori
2010-04-05 23:52 ` [PATCH -mm 01/12] asm-generic: remove ARCH_HAS_SG_CHAIN in scatterlist.h FUJITA Tomonori
2010-04-05 23:52 ` [PATCH -mm 02/12] avr32: use asm-generic/scatterlist.h FUJITA Tomonori
2010-04-06 13:38   ` Haavard Skinnemoen
2010-04-06 23:55     ` FUJITA Tomonori
2010-04-05 23:52 ` [PATCH -mm 03/12] cris: " FUJITA Tomonori
2010-04-05 23:52 ` [PATCH -mm 04/12] h8300: " FUJITA Tomonori
2010-04-05 23:52 ` [PATCH -mm 05/12] m32r: use " FUJITA Tomonori
2010-04-05 23:52 ` [PATCH -mm 06/12] m68k: " FUJITA Tomonori
2010-04-23  8:29   ` Geert Uytterhoeven [this message]
2010-04-25 13:46     ` FUJITA Tomonori
2010-04-25 18:17       ` Geert Uytterhoeven
2010-04-05 23:52 ` [PATCH -mm 07/12] mips: use " FUJITA Tomonori
2010-04-05 23:52 ` [PATCH -mm 08/12] xtensa: " FUJITA Tomonori
2010-04-05 23:52 ` [PATCH -mm 09/12] blackfin: " FUJITA Tomonori
2010-04-08  3:51   ` Mike Frysinger
2010-04-08  5:00     ` FUJITA Tomonori
2010-04-05 23:52 ` [PATCH -mm 10/12] frv: " FUJITA Tomonori
2010-04-05 23:52 ` [PATCH -mm 11/12] mn10300: " FUJITA Tomonori
2010-04-05 23:52 ` [PATCH -mm 12/12] parisc: " FUJITA Tomonori

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=p2q10f740e81004230129rd5b07889m5ec7f453efd46403@mail.gmail.com \
    --to=geert@linux-m68k.org \
    --cc=akpm@linux-foundation.org \
    --cc=fujita.tomonori@lab.ntt.co.jp \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-m68k@vger.kernel.org \
    --cc=zippel@linux-m68k.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;
as well as URLs for NNTP newsgroup(s).