2.6.5 build fails on sparc64 in hugetlbpage.c
PATCH 1/1 2.6.5 build fails on sparc64 in hugetlbpage.c
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,
arch/sparc64/mm/hugetlbpage.c +1 -0
@@ -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>
Signature · 2 lines
Romain Francoise <[email protected]> | I know, you love the song but it's a miracle -- http://orebokech.com/ | not the singer.
Yes, already fixed in my tree, but thanks for catching this Romain.