18c2ecf20Sopenharmony_ci/* SPDX-License-Identifier: GPL-2.0 */
28c2ecf20Sopenharmony_ci#ifndef _ASMARM_SHMPARAM_H
38c2ecf20Sopenharmony_ci#define _ASMARM_SHMPARAM_H
48c2ecf20Sopenharmony_ci
58c2ecf20Sopenharmony_ci/*
68c2ecf20Sopenharmony_ci * This should be the size of the virtually indexed cache/ways,
78c2ecf20Sopenharmony_ci * or page size, whichever is greater since the cache aliases
88c2ecf20Sopenharmony_ci * every size/ways bytes.
98c2ecf20Sopenharmony_ci */
108c2ecf20Sopenharmony_ci#define	SHMLBA	(4 * PAGE_SIZE)		 /* attach addr a multiple of this */
118c2ecf20Sopenharmony_ci
128c2ecf20Sopenharmony_ci/*
138c2ecf20Sopenharmony_ci * Enforce SHMLBA in shmat
148c2ecf20Sopenharmony_ci */
158c2ecf20Sopenharmony_ci#define __ARCH_FORCE_SHMLBA
168c2ecf20Sopenharmony_ci
178c2ecf20Sopenharmony_ci#endif /* _ASMARM_SHMPARAM_H */
18