mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] m68k: <asm/scatterlist.h> needs <asm/types.h>
@ 2007-05-06 20:33 Geert Uytterhoeven
  2007-05-06 20:39 ` Roman Zippel
  0 siblings, 1 reply; 3+ messages in thread
From: Geert Uytterhoeven @ 2007-05-06 20:33 UTC (permalink / raw)
  To: Linus Torvalds, Andrew Morton; +Cc: Linux/m68k, Linux Kernel Development

The recent <linux/pci.h> cleanup uncovered that include/asm-m68k/scatterlist.h
needs to include <asm/types.h>

Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
---
 include/asm-m68k/scatterlist.h |    2 ++
 1 file changed, 2 insertions(+)

--- linux-m68k-2.6.21.orig/include/asm-m68k/scatterlist.h
+++ linux-m68k-2.6.21/include/asm-m68k/scatterlist.h
@@ -1,6 +1,8 @@
 #ifndef _M68K_SCATTERLIST_H
 #define _M68K_SCATTERLIST_H
 
+#include <asm/types.h>
+
 struct scatterlist {
 	struct page *page;
 	unsigned int offset;

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] m68k: <asm/scatterlist.h> needs <asm/types.h>
  2007-05-06 20:33 [PATCH] m68k: <asm/scatterlist.h> needs <asm/types.h> Geert Uytterhoeven
@ 2007-05-06 20:39 ` Roman Zippel
  2007-05-07  8:49   ` Geert Uytterhoeven
  0 siblings, 1 reply; 3+ messages in thread
From: Roman Zippel @ 2007-05-06 20:39 UTC (permalink / raw)
  To: Geert Uytterhoeven
  Cc: Linus Torvalds, Andrew Morton, Linux/m68k, Linux Kernel Development

Hi,

On Sun, 6 May 2007, Geert Uytterhoeven wrote:

> The recent <linux/pci.h> cleanup uncovered that include/asm-m68k/scatterlist.h
> needs to include <asm/types.h>
> 
> Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
> ---
>  include/asm-m68k/scatterlist.h |    2 ++
>  1 file changed, 2 insertions(+)
> 
> --- linux-m68k-2.6.21.orig/include/asm-m68k/scatterlist.h
> +++ linux-m68k-2.6.21/include/asm-m68k/scatterlist.h
> @@ -1,6 +1,8 @@
>  #ifndef _M68K_SCATTERLIST_H
>  #define _M68K_SCATTERLIST_H
>  
> +#include <asm/types.h>
> +

Unless required otherwise please use <linux/types.h>

bye, Roman

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] m68k: <asm/scatterlist.h> needs <asm/types.h>
  2007-05-06 20:39 ` Roman Zippel
@ 2007-05-07  8:49   ` Geert Uytterhoeven
  0 siblings, 0 replies; 3+ messages in thread
From: Geert Uytterhoeven @ 2007-05-07  8:49 UTC (permalink / raw)
  To: Roman Zippel
  Cc: Linus Torvalds, Andrew Morton, Linux/m68k, Linux Kernel Development

On Sun, 6 May 2007, Roman Zippel wrote:
> On Sun, 6 May 2007, Geert Uytterhoeven wrote:
> > The recent <linux/pci.h> cleanup uncovered that include/asm-m68k/scatterlist.h
> > needs to include <asm/types.h>
> > 
> > Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
> > ---
> >  include/asm-m68k/scatterlist.h |    2 ++
> >  1 file changed, 2 insertions(+)
> > 
> > --- linux-m68k-2.6.21.orig/include/asm-m68k/scatterlist.h
> > +++ linux-m68k-2.6.21/include/asm-m68k/scatterlist.h
> > @@ -1,6 +1,8 @@
> >  #ifndef _M68K_SCATTERLIST_H
> >  #define _M68K_SCATTERLIST_H
> >  
> > +#include <asm/types.h>
> > +
> 
> Unless required otherwise please use <linux/types.h>

Fine for me! I just mimicked asm-i386/scatterlist.h.

Subject: [PATCH] m68k: <asm/scatterlist.h> needs <linux/types.h>

The recent <linux/pci.h> cleanup uncovered that include/asm-m68k/scatterlist.h
needs to include <linux/types.h>

Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
---
 include/asm-m68k/scatterlist.h |    2 ++
 1 file changed, 2 insertions(+)

--- linux-m68k-2.6.21.orig/include/asm-m68k/scatterlist.h
+++ linux-m68k-2.6.21/include/asm-m68k/scatterlist.h
@@ -1,6 +1,8 @@
 #ifndef _M68K_SCATTERLIST_H
 #define _M68K_SCATTERLIST_H
 
+#include <linux/types.h>
+
 struct scatterlist {
 	struct page *page;
 	unsigned int offset;

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2007-05-07  8:49 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-05-06 20:33 [PATCH] m68k: <asm/scatterlist.h> needs <asm/types.h> Geert Uytterhoeven
2007-05-06 20:39 ` Roman Zippel
2007-05-07  8:49   ` Geert Uytterhoeven

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

all inboxes | Powered by JetHome®