android_kernel_xiaomi_sm8350/arch/i386
Chuck Ebbert fe38d8553c [PATCH] i386 cpu hotplug: don't access freed memory
i386 CPU init code accesses freed init memory when booting a newly-started
processor after CPU hotplug.  The cpu_devs array is searched to find the
vendor and it contains pointers to freed data.

Fix that by:

        1. Zeroing entries for freed vendor data after bootup.
        2. Changing Transmeta, NSC and UMC to all __init[data].
        3. Printing a warning (once only) and setting this_cpu
           to a safe default when the vendor is not found.

This does not change behavior for AMD systems.  They were broken already
but no error was reported.

Signed-off-by: Chuck Ebbert <76306.1226@compuserve.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2006-02-05 11:06:53 -08:00
..
boot x86: fix "make install" target 2006-01-10 21:09:19 -08:00
crypto [CRYPTO] aes-i586: Remove unused variable ls_tab 2006-01-09 14:15:53 -08:00
kernel [PATCH] i386 cpu hotplug: don't access freed memory 2006-02-05 11:06:53 -08:00
lib
mach-default
mach-es7000
mach-generic
mach-visws
mach-voyager
math-emu
mm [PATCH] x86_64: add __meminit for memory hotplug 2006-01-16 23:18:35 -08:00
oprofile [PATCH] OProfile: fixed x86_64 incorrect kernel call graphs 2006-02-03 08:32:04 -08:00
pci [PATCH] PCI: handle bogus MCFG entries 2006-01-31 18:00:13 -08:00
power
defconfig [PATCH] e1000: Added disable packet split capability 2006-01-18 16:17:57 -05:00
Kconfig [PATCH] VMSPLIT config options 2006-02-01 08:53:21 -08:00
Kconfig.cpu [PATCH] Base support for AMD Geode GX/LX processors 2006-01-06 08:33:38 -08:00
Kconfig.debug [PATCH] x86/x86_64: mark rodata section read only: x86 parts 2006-01-06 08:33:36 -08:00
Makefile [PATCH] i386: remove gcc version check for CONFIG_REGPARM 2006-01-16 23:15:25 -08:00
Makefile.cpu [PATCH] remove gcc-2 checks 2006-01-08 20:14:02 -08:00