18c2ecf20Sopenharmony_ci/* SPDX-License-Identifier: GPL-2.0-only */ 28c2ecf20Sopenharmony_ci/* 38c2ecf20Sopenharmony_ci * Copyright (C) 2012 ARM Ltd. 48c2ecf20Sopenharmony_ci */ 58c2ecf20Sopenharmony_ci#ifndef __ASM_SHMPARAM_H 68c2ecf20Sopenharmony_ci#define __ASM_SHMPARAM_H 78c2ecf20Sopenharmony_ci 88c2ecf20Sopenharmony_ci/* 98c2ecf20Sopenharmony_ci * For IPC syscalls from compat tasks, we need to use the legacy 16k 108c2ecf20Sopenharmony_ci * alignment value. Since we don't have aliasing D-caches, the rest of 118c2ecf20Sopenharmony_ci * the time we can safely use PAGE_SIZE. 128c2ecf20Sopenharmony_ci */ 138c2ecf20Sopenharmony_ci#define COMPAT_SHMLBA (4 * PAGE_SIZE) 148c2ecf20Sopenharmony_ci 158c2ecf20Sopenharmony_ci#include <asm-generic/shmparam.h> 168c2ecf20Sopenharmony_ci 178c2ecf20Sopenharmony_ci#endif /* __ASM_SHMPARAM_H */ 18