blob: f920e22ec677cdc5a8f2a812ca5708fe5963de54 [file] [log] [blame]
Thomas Gleixnercaab2772019-06-03 07:44:50 +02001/* SPDX-License-Identifier: GPL-2.0-only */
Catalin Marinasf668cd12012-03-05 11:49:30 +00002/*
3 * Copyright (C) 2012 ARM Ltd.
Catalin Marinasf668cd12012-03-05 11:49:30 +00004 */
5#ifndef __ASM_SHMPARAM_H
6#define __ASM_SHMPARAM_H
7
8/*
9 * For IPC syscalls from compat tasks, we need to use the legacy 16k
10 * alignment value. Since we don't have aliasing D-caches, the rest of
11 * the time we can safely use PAGE_SIZE.
12 */
Yury Norovb9b7aeb2015-12-02 14:00:10 +000013#define COMPAT_SHMLBA (4 * PAGE_SIZE)
Catalin Marinasf668cd12012-03-05 11:49:30 +000014
15#include <asm-generic/shmparam.h>
16
17#endif /* __ASM_SHMPARAM_H */