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 <[EMAIL PROTECTED]> --- 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 `. `' [EMAIL PROTECTED] | [EMAIL PROTECTED] `- 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 [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/