Files
android_kernel_xiaomi_sm8450/arch/powerpc/kernel
Christophe Leroy a7916a1de5 powerpc: regain entire stack space
thread_info is not anymore in the stack, so the entire stack
can now be used.

There is also no risk anymore of corrupting task_cpu(p) with a
stack overflow so the patch removes the test.

When doing this, an explicit test for NULL stack pointer is
needed in validate_sp() as it is not anymore implicitely covered
by the sizeof(thread_info) gap.

In the meantime, with the previous patch all pointers to the stacks
are not anymore pointers to thread_info so this patch changes them
to void*

Signed-off-by: Christophe Leroy <christophe.leroy@c-s.fr>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
2019-02-23 22:31:40 +11:00
..
2019-02-23 21:04:32 +11:00
2019-02-23 21:04:32 +11:00
2019-02-23 21:04:32 +11:00
2018-07-30 22:47:53 +10:00
2019-02-23 22:31:40 +11:00
2018-08-13 15:59:06 +10:00
2019-02-23 22:31:40 +11:00
2019-02-23 21:04:32 +11:00
2019-02-23 22:31:40 +11:00
2017-12-11 13:03:35 +11:00
2019-02-23 22:31:40 +11:00
2019-02-23 22:31:40 +11:00
2018-10-09 16:51:05 +11:00
2018-05-25 12:04:46 +10:00