Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

parisc: Fix default stack size when COMPAT=n

The CONFIG_STACK_MAX_DEFAULT_SIZE_MB config option does not exist
when CONFIG_COMPAT is disabled. Use default 1 GB stack in this case.

Signed-off-by: Helge Deller <deller@gmx.de>

+4
+4
arch/parisc/kernel/sys_parisc.c
··· 50 50 } 51 51 52 52 53 + #ifdef CONFIG_COMPAT 53 54 #define STACK_SIZE_DEFAULT (USER_WIDE_MODE \ 54 55 ? (1 << 30) /* 1 GB */ \ 55 56 : (CONFIG_STACK_MAX_DEFAULT_SIZE_MB*1024*1024)) 57 + #else 58 + #define STACK_SIZE_DEFAULT (1 << 30) 59 + #endif 56 60 57 61 unsigned long calc_max_stack_size(unsigned long stack_max) 58 62 {