android_kernel_xiaomi_sm8350/arch/powerpc
Michael Ellerman 3243d87441 [POWERPC] Make emergency stack safe for current_thread_info() use
The current_thread_info() macro, used by preempt_count(), assumes the
base address and size of the stack are THREAD_SIZE aligned.

The emergency stack currently isn't either of these things, which
could potentially cause problems anytime we're running on the
emergency stack.  That includes when we detect a bad kernel stack
pointer, and also during early_setup_secondary().

Signed-off-by: Michael Ellerman <michael@ellerman.id.au>
Signed-off-by: Paul Mackerras <paulus@samba.org>
2008-04-30 19:49:48 +10:00
..
boot [POWERPC] mpc5200: Switch mpc5200 dts files to dts-v1 format 2008-04-29 07:19:07 -06:00
configs [POWERPC] mpc5200: defconfigs for CM5200, Lite5200B, Motion-PRO and TQM5200 2008-04-29 07:19:14 -06:00
kernel [POWERPC] Make emergency stack safe for current_thread_info() use 2008-04-30 19:49:48 +10:00
kvm KVM: ppc: PowerPC 440 KVM implementation 2008-04-27 18:21:39 +03:00
lib [POWERPC] Make rheap safe for spinlocks 2008-04-17 09:50:38 -05:00
math-emu [POWERPC] Replace remaining __FUNCTION__ occurrences 2008-04-01 20:43:09 +11:00
mm [POWERPC] Provide walk_memory_resource() for powerpc 2008-04-29 15:57:53 +10:00
oprofile Merge branch 'linux-2.6' 2008-04-14 21:11:02 +10:00
platforms Merge git://git.kernel.org/pub/scm/linux/kernel/git/jk/spufs 2008-04-30 16:53:17 +10:00
sysdev [RAPIDIO] Change RapidIO doorbell source and target ID field to 16-bit 2008-04-29 19:40:29 +10:00
xmon [POWERPC] Move stackframe definitions to common header 2008-04-18 15:37:18 +10:00
.gitignore
Kconfig [RAPIDIO] Add RapidIO option to kernel configuration 2008-04-29 19:40:27 +10:00
Kconfig.debug [POWERPC] Add IRQSTACKS support on ppc32 2008-04-29 15:57:34 +10:00
Makefile KVM: ppc: PowerPC 440 KVM implementation 2008-04-27 18:21:39 +03:00