Linux Audio

Check our new training course

Loading...
v5.4
 1/* SPDX-License-Identifier: GPL-2.0-only */
 2/*
 3 * Copyright (C) 2012 ARM Ltd.
 4 */
 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 */
13#define COMPAT_SHMLBA	(4 * PAGE_SIZE)
14
15#include <asm-generic/shmparam.h>
16
17#endif /* __ASM_SHMPARAM_H */
v6.8
 1/* SPDX-License-Identifier: GPL-2.0-only */
 2/*
 3 * Copyright (C) 2012 ARM Ltd.
 4 */
 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 */
13#define COMPAT_SHMLBA	(4 * PAGE_SIZE)
14
15#include <asm-generic/shmparam.h>
16
17#endif /* __ASM_SHMPARAM_H */