linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Bug in arch/i386/mm/hugetlbpage.c
@ 2003-05-09  8:32 Norbert Wolff
  0 siblings, 0 replies; only message in thread
From: Norbert Wolff @ 2003-05-09  8:32 UTC (permalink / raw)
  To: lkml

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2003-05-09  8:20 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-05-09  8:32 Bug in arch/i386/mm/hugetlbpage.c Norbert Wolff

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).