android_kernel_xiaomi_sm8350/arch/ppc/kernel
Robin Getz a3b81113fb remove support for un-needed _extratext section
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>
2008-02-06 10:41:01 -08:00
..
asm-offsets.c [PPC] Remove 85xx from arch/ppc 2008-01-28 08:33:10 -06:00
cpu_setup_power4.S
entry.S [PPC] Remove 85xx from arch/ppc 2008-01-28 08:33:10 -06:00
head_4xx.S
head_8xx.S [PPC] 8xx: Fix r3 trashing due to 8MB TLB page instantiation 2007-09-10 16:01:22 -05:00
head_44x.S [POWERPC] 4xx: Fix TLB 0 problem with CONFIG_SERIAL_TEXT_DEBUG 2007-12-23 13:31:16 -06:00
head_booke.h [PPC] Remove 85xx from arch/ppc 2008-01-28 08:33:10 -06:00
head.S [POWERPC] Remove APUS support from arch/ppc 2007-09-17 15:15:04 +10:00
machine_kexec.c
Makefile [PPC] Remove 85xx from arch/ppc 2008-01-28 08:33:10 -06:00
misc.S [PPC] Remove 85xx from arch/ppc 2008-01-28 08:33:10 -06:00
pci.c PCI: Use a weak symbol for the empty version of pcibios_add_platform_entries() 2007-07-11 16:02:07 -07:00
ppc_htab.c sysctl: kill binary sysctl KERN_PPC_L2CR 2008-01-24 08:07:27 -08:00
ppc_ksyms.c [PPC] Remove 85xx from arch/ppc 2008-01-28 08:33:10 -06:00
ppc-stub.c
relocate_kernel.S
semaphore.c
setup.c [PPC] Remove 85xx from arch/ppc 2008-01-28 08:33:10 -06:00
smp-tbsync.c
smp.c
softemu8xx.c
time.c
traps.c [PPC] Remove 85xx from arch/ppc 2008-01-28 08:33:10 -06:00
vmlinux.lds.S remove support for un-needed _extratext section 2008-02-06 10:41:01 -08:00