lkml.org 
[lkml]   [2007]   [Aug]   [10]   [last100]   RSS Feed
Views: [more markup]  [less markup]  [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    DateFri, 10 Aug 2007 11:23:34 +0200
    FromAurelien Jarno <>
    SubjectRe: 2.6.23-rc2-mm2
    On Thu, Aug 09, 2007 at 10:42:54PM -0700, Andrew Morton wrote:
    > 
    > ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.23-rc2/2.6.23-rc2-mm2/
    > 
    > - Various problems from 2.6.23-rc2-mm1 were fixed
    
    I have just tried it, and it fails to build for MIPS with the following
    error:
    
      CC      arch/mips/kernel/asm-offsets.s
    In file included from include/linux/sched.h:58,
                     from arch/mips/kernel/asm-offsets.c:13:
    include/linux/mm_types.h:115: error: expected specifier-qualifier-list before 'pgprot_t'
    include/linux/mm_types.h:169: warning: 'struct file' declared inside parameter list
    include/linux/mm_types.h:169: warning: its scope is only this definition or declaration, which is probably not what you want
    include/linux/mm_types.h:175: error: expected specifier-qualifier-list before 'pgd_t'
    
    
    The trivial patch below fixes this problem.
    
    Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
    
    --- a/include/linux/mm_types.h
    +++ b/include/linux/mm_types.h
    @@ -10,6 +10,7 @@
     #include <linux/rbtree.h>
     #include <linux/rwsem.h>
     #include <linux/completion.h>
    +#include <asm/page.h>
     #include <asm/mmu.h>
     
     struct address_space;
    -- 
      .''`.  Aurelien Jarno	            | GPG: 1024D/F1BCDB73
     : :' :  Debian developer           | Electrical Engineer
     `. `'   aurel32@debian.org         | aurelien@aurel32.net
       `-    people.debian.org/~aurel32 | www.aurel32.net
    -
    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-08-10 11:59    [from the cache]
    ©2003-2008