a3b81113fb
When passing a zero address to kallsyms_lookup(), the kernel thought it was a valid kernel address, even if it is not. This is because is_ksym_addr() called is_kernel_extratext() and checked against labels that don't exist on many archs (which default as zero). Since PPC was the only kernel which defines _extra_text, (in 2005), and no longer needs it, this patch removes _extra_text support. For some history (provided by Jon): http://ozlabs.org/pipermail/linuxppc-dev/2005-September/019734.html http://ozlabs.org/pipermail/linuxppc-dev/2005-September/019736.html http://ozlabs.org/pipermail/linuxppc-dev/2005-September/019751.html [akpm@linux-foundation.org: coding-style fixes] Signed-off-by: Robin Getz <rgetz@blackfin.uclinux.org> Cc: David Woodhouse <dwmw2@infradead.org> Cc: Jon Loeliger <jdl@freescale.com> Cc: Paul Mackerras <paulus@samba.org> Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org> Cc: Sam Ravnborg <sam@ravnborg.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org> |
||
---|---|---|
.. | ||
asm-offsets.c | ||
cpu_setup_power4.S | ||
entry.S | ||
head_4xx.S | ||
head_8xx.S | ||
head_44x.S | ||
head_booke.h | ||
head.S | ||
machine_kexec.c | ||
Makefile | ||
misc.S | ||
pci.c | ||
ppc_htab.c | ||
ppc_ksyms.c | ||
ppc-stub.c | ||
relocate_kernel.S | ||
semaphore.c | ||
setup.c | ||
smp-tbsync.c | ||
smp.c | ||
softemu8xx.c | ||
time.c | ||
traps.c | ||
vmlinux.lds.S |