Andrew Scull | b4b6d4a | 2019-01-02 15:54:55 +0000 | [diff] [blame^] | 1 | /* SPDX-License-Identifier: GPL-2.0 */ |
2 | #ifndef _ASMARM_SHMPARAM_H | ||||
3 | #define _ASMARM_SHMPARAM_H | ||||
4 | |||||
5 | /* | ||||
6 | * This should be the size of the virtually indexed cache/ways, | ||||
7 | * or page size, whichever is greater since the cache aliases | ||||
8 | * every size/ways bytes. | ||||
9 | */ | ||||
10 | #define SHMLBA (4 * PAGE_SIZE) /* attach addr a multiple of this */ | ||||
11 | |||||
12 | /* | ||||
13 | * Enforce SHMLBA in shmat | ||||
14 | */ | ||||
15 | #define __ARCH_FORCE_SHMLBA | ||||
16 | |||||
17 | #endif /* _ASMARM_SHMPARAM_H */ |