From: Andrea Righi <righi.andrea@gmail.com>
To: Geert Uytterhoeven <geert@linux-m68k.org>,
Andrew Morton <akpm@linux-foundation.org>
Cc: linux-mm@kvack.org, linux-arch@vger.kernel.org,
linux-kernel@vger.kernel.org,
Roman Zippel <zippel@linux-m68k.org>,
David Howells <dhowells@redhat.com>,
Hirokazu Takata <takata@linux-m32r.org>,
Andrea Righi <righi.andrea@gmail.com>
Subject: [PATCH -mmotm] mm: unify some pmd_*() functions fix for m68k sun3
Date: Thu, 29 Jan 2009 22:58:17 +0100 [thread overview]
Message-ID: <1233266297-12995-1-git-send-email-righi.andrea@gmail.com> (raw)
sun3_defconfig fails with:
CC mm/memory.o
mm/memory.c: In function 'free_pmd_range':
mm/memory.c:176: error: implicit declaration of function '__pmd_free_tlb'
mm/memory.c: In function '__pmd_alloc':
mm/memory.c:2903: error: implicit declaration of function 'pmd_alloc_one_bug'
mm/memory.c:2903: warning: initialization makes pointer from integer without a cast
mm/memory.c:2917: error: implicit declaration of function 'pmd_free'
make[3]: *** [mm/memory.o] Error 1
Add the missing include.
Reported-by: Geert Uytterhoeven <geert@linux-m68k.org>
Signed-off-by: Andrea Righi <righi.andrea@gmail.com>
---
include/asm-m68k/sun3_pgalloc.h | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/include/asm-m68k/sun3_pgalloc.h b/include/asm-m68k/sun3_pgalloc.h
index 0fe28fc..399d280 100644
--- a/include/asm-m68k/sun3_pgalloc.h
+++ b/include/asm-m68k/sun3_pgalloc.h
@@ -11,6 +11,7 @@
#define _SUN3_PGALLOC_H
#include <asm/tlb.h>
+#include <asm-generic/pgtable-nopmd.h>
/* FIXME - when we get this compiling */
/* erm, now that it's compiling, what do we do with it? */
--
1.5.6.3
--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org. For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>
next reply other threads:[~2009-01-29 21:59 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-01-29 21:58 Andrea Righi [this message]
2009-01-30 18:02 ` Geert Uytterhoeven
2009-01-31 14:35 ` Andrea Righi
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=1233266297-12995-1-git-send-email-righi.andrea@gmail.com \
--to=righi.andrea@gmail.com \
--cc=akpm@linux-foundation.org \
--cc=dhowells@redhat.com \
--cc=geert@linux-m68k.org \
--cc=linux-arch@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-mm@kvack.org \
--cc=takata@linux-m32r.org \
--cc=zippel@linux-m68k.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