Files
android_kernel_xiaomi_sm8450/arch/arm/include/asm
Andrey Ryabinin 9a2b51b6ca ARM: 8078/1: get rid of hardcoded assumptions about kernel stack size
Changing kernel stack size on arm is not as simple as it should be:
1) THREAD_SIZE macro doesn't respect PAGE_SIZE and THREAD_SIZE_ORDER
2) stack size is hardcoded in get_thread_info macro

This patch fixes it by calculating THREAD_SIZE and thread_info address
taking into account PAGE_SIZE and THREAD_SIZE_ORDER.

Now changing stack size becomes simply changing THREAD_SIZE_ORDER.

Signed-off-by: Andrey Ryabinin <a.ryabinin@samsung.com>
Acked-by: Nicolas Pitre <nico@linaro.org>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
2014-07-01 15:05:47 +01:00
..
2014-04-18 11:40:32 +02:00
2014-04-18 11:40:32 +02:00
2014-04-18 11:40:32 +02:00
2012-03-28 18:30:01 +01:00
2014-06-02 09:20:18 +01:00
2012-07-05 09:50:55 +01:00
2011-03-31 11:26:23 -03:00
2011-03-31 11:26:23 -03:00
2012-09-14 09:21:59 -05:00
2012-09-14 13:53:39 +00:00
2013-04-17 21:38:10 +02:00
2014-02-25 11:33:37 +00:00
2012-07-24 15:27:28 +08:00
2013-01-23 13:29:17 -05:00
2014-06-01 01:17:12 +01:00
2013-07-08 22:08:51 +01:00
2013-11-15 09:32:16 +09:00
2014-05-27 15:58:49 +02:00
2014-06-01 01:17:12 +01:00
2014-02-25 11:33:37 +00:00
2011-03-31 11:26:23 -03:00
2014-03-18 16:39:40 -04:00
2011-07-12 11:19:29 -05:00