lkml.org 
[lkml]   [2007]   [May]   [7]   [last100]   RSS Feed
Views: [more markup]  [less markup]  [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    DateMon, 7 May 2007 10:49:42 +0200 (CEST)
    FromGeert Uytterhoeven <>
    SubjectRe: [PATCH] m68k: <asm/scatterlist.h> needs <asm/types.h>
    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
    -
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.kernel.org
    More majordomo info at  http://vger.kernel.org/majordomo-info.html
    Please read the FAQ at  http://www.tux.org/lkml/
    
    
    \
     
     \ /
      Last update: 2007-05-07 10:53    [from the cache]
    ©2003-2008