From: Anton Blanchard <anton@samba.org>
To: akpm@osdl.org
Cc: linux-kernel@vger.kernel.org
Subject: [PATCH] Fix gcc 3.5 compile issue in mm/mempolicy.c
Date: Thu, 5 Aug 2004 09:11:35 +1000 [thread overview]
Message-ID: <20040804231135.GX30253@krispykreme> (raw)
Fix another gcc 3.5 compile issue, this time the default_policy prototype
was not marked static whereas the definition was. There is no need for
the prototype, so remove it.
Signed-off-by: Anton Blanchard <anton@samba.org>
diff -puN include/linux/mempolicy.h~more-3.5-fixes include/linux/mempolicy.h
--- linux-2.6.8-rc2-mm2/include/linux/mempolicy.h~more-3.5-fixes 2004-08-04 17:46:37.671867293 -0500
+++ linux-2.6.8-rc2-mm2-anton/include/linux/mempolicy.h 2004-08-04 17:46:37.681865704 -0500
@@ -68,9 +68,6 @@ struct mempolicy {
} v;
};
-/* An NULL mempolicy pointer is a synonym of &default_policy. */
-extern struct mempolicy default_policy;
-
/*
* Support for managing mempolicy data objects (clone, copy, destroy)
* The default fast path of a NULL MPOL_DEFAULT policy is always inlined.
_
reply other threads:[~2004-08-04 23:16 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=20040804231135.GX30253@krispykreme \
--to=anton@samba.org \
--cc=akpm@osdl.org \
--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
all inboxes | Powered by JetHome®