mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 10:41:38 -04:00
[SPARC64]: Increase top of 32-bit process stack.
Put it one page below the top of the 32-bit address space. This gives us ~16MB more address space to work with. Signed-off-by: David S. Miller <[email protected]>
This commit is contained in:
parent
a91690ddd0
commit
d61e16df94
5 changed files with 21 additions and 15 deletions
|
|
@ -95,9 +95,11 @@ struct relocation_info /* used when header.a_machtype == M_SPARC */
|
|||
|
||||
#ifdef __KERNEL__
|
||||
|
||||
#define STACK_TOP32 ((1UL << 32UL) - PAGE_SIZE)
|
||||
#define STACK_TOP64 (0x0000080000000000UL - (1UL << 32UL))
|
||||
|
||||
#define STACK_TOP (test_thread_flag(TIF_32BIT) ? \
|
||||
0xf0000000 : \
|
||||
(0x0000080000000000UL - (1UL << 32UL)))
|
||||
STACK_TOP32 : STACK_TOP64)
|
||||
|
||||
#endif
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue