On Fri, 10 Aug 2007 11:23:34 +0200, Aurelien Jarno said: > 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. Rather than adding it to an include/linux file, where it then gets dragged in on *all* architectures, maybe we should investigate why it dies on MIPS, and fix it for *that* arch?
Attachment:
pgpvx27RPxz9d.pgp
Description: PGP signature
- Follow-Ups:
- Re: 2.6.23-rc2-mm2
- From: Adrian Bunk <[email protected]>
- Re: 2.6.23-rc2-mm2
- References:
- 2.6.23-rc2-mm2
- From: Andrew Morton <[email protected]>
- Re: 2.6.23-rc2-mm2
- From: Aurelien Jarno <[email protected]>
- 2.6.23-rc2-mm2
- Prev by Date: Re: 2.6.23-rc2-mm2: drivers/s390/char/keyboard.c compile error
- Next by Date: Re: [PATCH] Make access to task's nsproxy liter
- Previous by thread: Re: 2.6.23-rc2-mm2
- Next by thread: Re: 2.6.23-rc2-mm2
- Index(es):