LKML Archive on lore.kernel.org help / color / mirror / Atom feed
From: Adrian Bunk <bunk@kernel.org> To: linux-kernel@vger.kernel.org Subject: [2.6 patch] make mm/sparse.c: make a function static Date: Tue, 22 Apr 2008 00:32:25 +0300 [thread overview] Message-ID: <20080421213225.GS2633@cs181133002.pp.htv.fi> (raw) This patch makes the needlessly global sparse_early_mem_map_alloc() static. Signed-off-by: Adrian Bunk <bunk@kernel.org> --- This patch has been sent on: - 14 Apr 2008 - 31 Mar 2008 - 25 Feb 2008 47e8f879748b0e89a465a50626ae93dd55844a15 diff --git a/mm/sparse.c b/mm/sparse.c index f6a43c0..99cd810 100644 --- a/mm/sparse.c +++ b/mm/sparse.c @@ -269,7 +269,7 @@ struct page __init *sparse_mem_map_populate(unsigned long pnum, int nid) } #endif /* !CONFIG_SPARSEMEM_VMEMMAP */ -struct page __init *sparse_early_mem_map_alloc(unsigned long pnum) +static struct page __init *sparse_early_mem_map_alloc(unsigned long pnum) { struct page *map; struct mem_section *ms = __nr_to_section(pnum); k
next reply other threads:[~2008-04-21 21:37 UTC|newest] Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top 2008-04-21 21:32 Adrian Bunk [this message] -- strict thread matches above, loose matches on Subject: below -- 2008-05-05 18:26 [2.6 patch] make mm/sparse.c: make a function static Adrian Bunk 2008-04-14 18:13 Adrian Bunk 2008-03-30 22:48 Adrian Bunk
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=20080421213225.GS2633@cs181133002.pp.htv.fi \ --to=bunk@kernel.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: linkBe 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).