Hallo !
In arch/i386/mm/hugetlbpage.c htlbzone_pages and htlbpage_freelist
are declared static at the Top of the File and later
in set_hugetlb_mem_size() as extern.
gcc-3.4 does not accept this conflict.
Fix below.
Bye,
Norbert
--- hugetlbpage.c.orig 2003-05-05 01:53:41.%N +0200
+++ hugetlbpage.c 2003-05-09 09:32:43.%N +0200
@@ -398,8 +398,6 @@ int set_hugetlb_mem_size(int count)
{
int lcount;
struct page *page;
- extern long htlbzone_pages;
- extern struct list_head htlbpage_freelist;
if (count < 0)
lcount = count;
-- Norbert Wolff OpenPGP-Key: http://pgp.mit.edu:11371/pks/lookup?op=get&search=0xF13BD6F6 - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
This archive was generated by hypermail 2b29 : Thu May 15 2003 - 22:00:30 EST