* [PATCH] 2.6.5 build fails on sparc64 in hugetlbpage.c
@ 2004-04-04 19:17 Romain Francoise
2004-04-05 6:28 ` David S. Miller
0 siblings, 1 reply; 2+ messages in thread
From: Romain Francoise @ 2004-04-04 19:17 UTC (permalink / raw)
To: sparclinux
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.
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PATCH] 2.6.5 build fails on sparc64 in hugetlbpage.c
2004-04-04 19:17 [PATCH] 2.6.5 build fails on sparc64 in hugetlbpage.c Romain Francoise
@ 2004-04-05 6:28 ` David S. Miller
0 siblings, 0 replies; 2+ messages in thread
From: David S. Miller @ 2004-04-05 6:28 UTC (permalink / raw)
To: sparclinux
Yes, already fixed in my tree, but thanks for catching this
Romain.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2004-04-05 6:28 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-04-04 19:17 [PATCH] 2.6.5 build fails on sparc64 in hugetlbpage.c Romain Francoise
2004-04-05 6:28 ` David S. Miller
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.