From: Romain Francoise <romain@orebokech.com>
To: sparclinux@vger.kernel.org
Subject: [PATCH] 2.6.5 build fails on sparc64 in hugetlbpage.c
Date: Sun, 04 Apr 2004 19:17:49 +0000 [thread overview]
Message-ID: <87r7v3ft7m.fsf@orebokech.com> (raw)
Hi,
Stock 2.6.5 does not compile on sparc64 because of akpm's change to
export hugetlb_total_pages: arch/sparc64/mm/hugetlbpage.c does not
include linux/module.h so EXPORT_SYMBOL prints out warnings, and since
sparc64 Makefiles have -Werror, the build fails. Including module.h
fixes it.
Please apply,
diff -urN a/arch/sparc64/mm/hugetlbpage.c b/arch/sparc64/mm/hugetlbpage.c
--- a/arch/sparc64/mm/hugetlbpage.c 2004-04-04 21:03:15.000000000 +0200
+++ b/arch/sparc64/mm/hugetlbpage.c 2004-04-04 21:07:13.000000000 +0200
@@ -13,6 +13,7 @@
#include <linux/smp_lock.h>
#include <linux/slab.h>
#include <linux/sysctl.h>
+#include <linux/module.h>
#include <asm/mman.h>
#include <asm/pgalloc.h>
--
Romain Francoise <romain@orebokech.com> | I know, you love the song but
it's a miracle -- http://orebokech.com/ | not the singer.
next reply other threads:[~2004-04-04 19:17 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-04-04 19:17 Romain Francoise [this message]
2004-04-05 6:28 ` [PATCH] 2.6.5 build fails on sparc64 in hugetlbpage.c David S. Miller
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=87r7v3ft7m.fsf@orebokech.com \
--to=romain@orebokech.com \
--cc=sparclinux@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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.