blob: 367a9dac6150a3f543153cb80146e6019024a28e [file] [log] [blame]
Andrew Scullb4b6d4a2019-01-02 15:54:55 +00001/* 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 */