* compile failure on hppa64: pte_mkwrite
@ 2011-01-14 22:59 Meelis Roos
2011-01-14 23:15 ` Randy Dunlap
0 siblings, 1 reply; 2+ messages in thread
From: Meelis Roos @ 2011-01-14 22:59 UTC (permalink / raw)
To: linux-parisc, Linux Kernel list
Tried todays 2.6.37+git on hppa64 and it fail to compile:
CC arch/parisc/kernel/asm-offsets.s
In file included from /home/mroos/linux-2.6/arch/parisc/include/asm/pgtable.h:13,
from arch/parisc/kernel/asm-offsets.c:37:
include/linux/mm.h: In function 'maybe_mkwrite':
include/linux/mm.h:482: error: implicit declaration of function 'pte_mkwrite'
include/linux/mm.h:482: error: incompatible types when assigning to type 'pte_t' from type 'int'
In file included from arch/parisc/kernel/asm-offsets.c:37:
/home/mroos/linux-2.6/arch/parisc/include/asm/pgtable.h: At top level:
/home/mroos/linux-2.6/arch/parisc/include/asm/pgtable.h:338: error: conflicting types for 'pte_mkwrite'
include/linux/mm.h:482: note: previous implicit declaration of 'pte_mkwrite' was here
make[1]: *** [arch/parisc/kernel/asm-offsets.s] Error 1
make: *** [prepare0] Error 2
It seems pte_mkwrite is referenced in mm.h but not defined anywhere in
include directory.
--
Meelis Roos (mroos@linux.ee)
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: compile failure on hppa64: pte_mkwrite
2011-01-14 22:59 compile failure on hppa64: pte_mkwrite Meelis Roos
@ 2011-01-14 23:15 ` Randy Dunlap
0 siblings, 0 replies; 2+ messages in thread
From: Randy Dunlap @ 2011-01-14 23:15 UTC (permalink / raw)
To: Meelis Roos; +Cc: linux-parisc, Linux Kernel list
On 01/14/11 14:59, Meelis Roos wrote:
> Tried todays 2.6.37+git on hppa64 and it fail to compile:
>
> CC arch/parisc/kernel/asm-offsets.s
> In file included from /home/mroos/linux-2.6/arch/parisc/include/asm/pgtable.h:13,
> from arch/parisc/kernel/asm-offsets.c:37:
> include/linux/mm.h: In function 'maybe_mkwrite':
> include/linux/mm.h:482: error: implicit declaration of function 'pte_mkwrite'
> include/linux/mm.h:482: error: incompatible types when assigning to type 'pte_t' from type 'int'
> In file included from arch/parisc/kernel/asm-offsets.c:37:
> /home/mroos/linux-2.6/arch/parisc/include/asm/pgtable.h: At top level:
> /home/mroos/linux-2.6/arch/parisc/include/asm/pgtable.h:338: error: conflicting types for 'pte_mkwrite'
> include/linux/mm.h:482: note: previous implicit declaration of 'pte_mkwrite' was here
> make[1]: *** [arch/parisc/kernel/asm-offsets.s] Error 1
> make: *** [prepare0] Error 2
>
> It seems pte_mkwrite is referenced in mm.h but not defined anywhere in
> include directory.
>
James posted a patch:
http://marc.info/?l=linux-parisc&m=129504371532124&w=2
--
~Randy
*** Remember to use Documentation/SubmitChecklist when testing your code ***
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2011-01-14 23:16 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-01-14 22:59 compile failure on hppa64: pte_mkwrite Meelis Roos
2011-01-14 23:15 ` Randy Dunlap
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox