xref: /OK3568_Linux_fs/kernel/arch/arm64/include/asm/shmparam.h (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1*4882a593Smuzhiyun /* SPDX-License-Identifier: GPL-2.0-only */
2*4882a593Smuzhiyun /*
3*4882a593Smuzhiyun  * Copyright (C) 2012 ARM Ltd.
4*4882a593Smuzhiyun  */
5*4882a593Smuzhiyun #ifndef __ASM_SHMPARAM_H
6*4882a593Smuzhiyun #define __ASM_SHMPARAM_H
7*4882a593Smuzhiyun 
8*4882a593Smuzhiyun /*
9*4882a593Smuzhiyun  * For IPC syscalls from compat tasks, we need to use the legacy 16k
10*4882a593Smuzhiyun  * alignment value. Since we don't have aliasing D-caches, the rest of
11*4882a593Smuzhiyun  * the time we can safely use PAGE_SIZE.
12*4882a593Smuzhiyun  */
13*4882a593Smuzhiyun #define COMPAT_SHMLBA	(4 * PAGE_SIZE)
14*4882a593Smuzhiyun 
15*4882a593Smuzhiyun #include <asm-generic/shmparam.h>
16*4882a593Smuzhiyun 
17*4882a593Smuzhiyun #endif /* __ASM_SHMPARAM_H */
18