From: norbert_wolff@t-online.de (Norbert Wolff)
To: lkml <linux-kernel@vger.kernel.org>
Subject: Bug in arch/i386/mm/hugetlbpage.c
Date: Fri, 9 May 2003 10:32:51 +0200 [thread overview]
Message-ID: <20030509103251.34f33d98.norbert_wolff@t-online.de> (raw)
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
reply other threads:[~2003-05-09 8:20 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=20030509103251.34f33d98.norbert_wolff@t-online.de \
--to=norbert_wolff@t-online.de \
--cc=linux-kernel@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 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).