android_kernel_xiaomi_sm8350/arch/i386/kernel/cpu
Stas Sergeev be44d2aabc [PATCH] i386: espfix cleanup
Clean up the espfix code:

- Introduced PER_CPU() macro to be used from asm
- Introduced GET_DESC_BASE() macro to be used from asm
- Rewrote the fixup code in asm, as calling a C code with the altered %ss
  appeared to be unsafe
- No longer altering the stack from a .fixup section
- 16bit per-cpu stack is no longer used, instead the stack segment base
  is patched the way so that the high word of the kernel and user %esp
  are the same.
- Added the limit-patching for the espfix segment. (Chuck Ebbert)

[jeremy@goop.org: use the x86 scaling addressing mode rather than shifting]
Signed-off-by: Stas Sergeev <stsp@aknet.ru>
Signed-off-by: Andi Kleen <ak@suse.de>
Acked-by: Zachary Amsden <zach@vmware.com>
Acked-by: Chuck Ebbert <76306.1226@compuserve.com>
Acked-by: Jan Beulich <jbeulich@novell.com>
Cc: Andi Kleen <ak@muc.de>
Signed-off-by: Jeremy Fitzhardinge <jeremy@goop.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
2006-12-07 02:14:01 +01:00
..
cpufreq
mcheck [PATCH] severing module.h->sched.h 2006-12-04 02:00:22 -05:00
mtrr [PATCH] i386: fix buggy MTRR address checks 2006-12-07 02:14:00 +01:00
amd.c
centaur.c
common.c [PATCH] i386: espfix cleanup 2006-12-07 02:14:01 +01:00
cpu.h
cyrix.c
intel_cacheinfo.c
intel.c [PATCH] i386: i386 add X86_FEATURE_PEBS and detection 2006-12-07 02:14:01 +01:00
Makefile
nexgen.c
proc.c
rise.c
transmeta.c
umc.c