[PATCH] ppc32: platform-specific functions missing from kallsyms.
authorDavid Woodhouse <dwmw2@infradead.org>
Thu, 5 May 2005 23:15:09 +0000 (16:15 -0700)
committerLinus Torvalds <torvalds@ppc970.osdl.org>
Thu, 5 May 2005 23:36:31 +0000 (16:36 -0700)
commit075d6eb16d273dab7b7b4b83fcee8bce4ee387ed
treed5e2cfb21dd752410649a675f2bb2a7c0db05c8e
parentbecf3aec2608d6807a58d0677661cb23c388d67f
[PATCH] ppc32: platform-specific functions missing from kallsyms.

The PPC32 kernel puts platform-specific functions into separate sections so
that unneeded parts of it can be freed when we've booted and actually
worked out what we're running on today.

This makes kallsyms ignore those functions, because they're not between
_[se]text or _[se]inittext.  Rather than teaching kallsyms about the
various pmac/chrp/etc sections, this patch adds '_[se]extratext' markers
for kallsyms.

Signed-off-by: David Woodhouse <dwmw2@infradead.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
arch/ppc/kernel/vmlinux.lds.S
include/asm-generic/sections.h
kernel/kallsyms.c
scripts/kallsyms.c