public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Meelis Roos <mroos@linux.ee>
To: linux-parisc@vger.kernel.org,
	Linux Kernel list <linux-kernel@vger.kernel.org>
Subject: compile failure on hppa64: pte_mkwrite
Date: Sat, 15 Jan 2011 00:59:49 +0200 (EET)	[thread overview]
Message-ID: <alpine.SOC.1.00.1101150057210.8462@math.ut.ee> (raw)

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)

             reply	other threads:[~2011-01-14 22:59 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-01-14 22:59 Meelis Roos [this message]
2011-01-14 23:15 ` compile failure on hppa64: pte_mkwrite Randy Dunlap

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=alpine.SOC.1.00.1101150057210.8462@math.ut.ee \
    --to=mroos@linux.ee \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-parisc@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox