* - mm-fix-section-mismatch-warning-in-sparsec.patch removed from -mm tree
@ 2008-02-05 22:32 akpm
0 siblings, 0 replies; only message in thread
From: akpm @ 2008-02-05 22:32 UTC (permalink / raw)
To: sam, apw, clameter, mel, mm-commits
The patch titled
mm: fix section mismatch warning in sparse.c
has been removed from the -mm tree. Its filename was
mm-fix-section-mismatch-warning-in-sparsec.patch
This patch was dropped because it was merged into mainline or a subsystem tree
The current -mm tree may be found at http://userweb.kernel.org/~akpm/mmotm/
------------------------------------------------------
Subject: mm: fix section mismatch warning in sparse.c
From: Sam Ravnborg <sam@ravnborg.org>
Fix following warning:
WARNING: mm/built-in.o(.text+0x22069): Section mismatch in reference from the function sparse_early_usemap_alloc() to the function .init.text:__alloc_bootmem_node()
static sparse_early_usemap_alloc() were used only by sparse_init()
and with sparse_init() annotated _init it is safe to
annotate sparse_early_usemap_alloc with __init too.
Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
Cc: Andy Whitcroft <apw@shadowen.org>
Cc: Mel Gorman <mel@csn.ul.ie>
Cc: Christoph Lameter <clameter@sgi.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
---
mm/sparse.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff -puN mm/sparse.c~mm-fix-section-mismatch-warning-in-sparsec mm/sparse.c
--- a/mm/sparse.c~mm-fix-section-mismatch-warning-in-sparsec
+++ a/mm/sparse.c
@@ -237,7 +237,7 @@ static unsigned long *__kmalloc_section_
}
#endif /* CONFIG_MEMORY_HOTPLUG */
-static unsigned long *sparse_early_usemap_alloc(unsigned long pnum)
+static unsigned long *__init sparse_early_usemap_alloc(unsigned long pnum)
{
unsigned long *usemap;
struct mem_section *ms = __nr_to_section(pnum);
_
Patches currently in -mm which might be from sam@ravnborg.org are
origin.patch
remove-support-for-un-needed-_extratext-section.patch
remove-support-for-un-needed-_extratext-section-checkpatch-fixes.patch
kallsyms-should-prefer-non-weak-symbols.patch
kallsyms-should-prefer-non-weak-symbols-checkpatch-fixes.patch
tpm-infineon-section-mismatch.patch
linux-kernel-markers-create-modpost-file.patch
avoid-overflows-in-kernel-timec.patch
cpu-fix-section-mismatch-warnings-for-enable_nonboot_cpus.patch
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2008-02-05 22:44 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-02-05 22:32 - mm-fix-section-mismatch-warning-in-sparsec.patch removed from -mm tree akpm
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.