From: "Mike Frysinger" <vapier.adi@gmail.com>
To: "Jeremy Fitzhardinge" <jeremy.fitzhardinge@citrix.com>
Cc: LKML <linux-kernel@vger.kernel.org>
Subject: linux-next: 1ea0704e (ptep_modify_prot transaction abstraction) breaks no-mmu
Date: Thu, 3 Jul 2008 09:38:55 -0400 [thread overview]
Message-ID: <8bd0f97a0807030638g5eb8f0eavd740e990b1cdf1c5@mail.gmail.com> (raw)
the functions added to asm-generic/pgtable.h are only used by
mm/mprotect.c (a MMU-only file), but they were not added inside of the
CONFIG_MMU ifdef block. since the functions rely on things inside of
CONFIG_MMU (the lines just above in pgtable.h), we get build failure
on all no-mmu setups:
CC init/main.o
In file included from include/asm/pgtable.h:94,
from include/linux/mm.h:39,
from include/asm/dma.h:39,
from include/linux/bootmem.h:8,
from init/main.c:27:
include/asm-generic/pgtable.h: In function '__ptep_modify_prot_start':
include/asm-generic/pgtable.h:210: error: implicit declaration of
function 'ptep_get_and_clear'
include/asm-generic/pgtable.h:210: error: incompatible types in return
make[1]: *** [init/main.o] Error 1
make: *** [init/main.o] Error 2
-mike
next reply other threads:[~2008-07-03 13:39 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-07-03 13:38 Mike Frysinger [this message]
2008-07-03 15:53 ` Jeremy Fitzhardinge
2008-07-15 14:00 ` Adrian Bunk
2008-07-15 14:24 ` Mike Frysinger
2008-07-15 20:39 ` [PATCH] mm: fix ptep_modify_* for no-MMU systems Jeremy Fitzhardinge
2008-07-16 12:52 ` Adrian Bunk
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=8bd0f97a0807030638g5eb8f0eavd740e990b1cdf1c5@mail.gmail.com \
--to=vapier.adi@gmail.com \
--cc=jeremy.fitzhardinge@citrix.com \
--cc=linux-kernel@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
all inboxes | Powered by JetHome®