diff options
author | Stephen Rothwell <sfr@canb.auug.org.au> | 2024-04-29 08:37:04 +1000 |
---|---|---|
committer | Stephen Rothwell <sfr@canb.auug.org.au> | 2024-04-29 08:37:04 +1000 |
commit | ebc3e4cec5a7f7cebb69caee0336bc98a2ac83f1 (patch) | |
tree | 59c69676bee7b0770110da1811bc6588471b809c | |
parent | e262e67fe4e47ad291d0f1602d17084c60ec602e (diff) | |
parent | 70d830e337f999ad186d0093e973805eaf6fb8ca (diff) | |
download | linux-next-ebc3e4cec5a7f7cebb69caee0336bc98a2ac83f1.tar.gz |
Merge branch 'for-next' of git://git.kernel.org/pub/scm/linux/kernel/git/geert/linux-m68k.git
Notice: this object is not reachable from any branch.
Notice: this object is not reachable from any branch.
-rw-r--r-- | arch/m68k/include/asm/thread_info.h | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/arch/m68k/include/asm/thread_info.h b/arch/m68k/include/asm/thread_info.h index 31be2ad999cac4..3e31adbddc75f6 100644 --- a/arch/m68k/include/asm/thread_info.h +++ b/arch/m68k/include/asm/thread_info.h @@ -12,14 +12,15 @@ */ #if PAGE_SHIFT < 13 #ifdef CONFIG_4KSTACKS -#define THREAD_SIZE 4096 +#define THREAD_SIZE_ORDER 0 #else -#define THREAD_SIZE 8192 +#define THREAD_SIZE_ORDER 1 #endif #else -#define THREAD_SIZE PAGE_SIZE +#define THREAD_SIZE_ORDER 0 #endif -#define THREAD_SIZE_ORDER ((THREAD_SIZE / PAGE_SIZE) - 1) + +#define THREAD_SIZE (PAGE_SIZE << THREAD_SIZE_ORDER) #ifndef __ASSEMBLY__ |