blob: c7bb9b6573d4c854a510023a2734dcc429d03491 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
#ifndef __ARCH_LIMITS_H__
#define __ARCH_LIMITS_H__
/* Commonly 16K pages are used. */
#define __PAGE_SHIFT 14 /* 16K pages */
#define __PAGE_SIZE (1<<(__PAGE_SHIFT))
#define __STACK_SIZE_PAGE_ORDER 2
#define __STACK_SIZE (__PAGE_SIZE * (1 << __STACK_SIZE_PAGE_ORDER))
#endif /* __ARCH_LIMITS_H__ */
|