File: shmparam.h

package info (click to toggle)
linux 6.19.4-1~exp1
  • links: PTS, VCS
  • area: main
  • in suites:
  • size: 1,759,672 kB
  • sloc: ansic: 27,007,359; asm: 273,393; sh: 151,330; python: 81,278; makefile: 58,557; perl: 34,311; xml: 21,064; cpp: 5,986; yacc: 4,841; lex: 2,901; awk: 1,707; sed: 30; ruby: 25
file content (17 lines) | stat: -rw-r--r-- 425 bytes parent folder | download | duplicates (40)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
/* SPDX-License-Identifier: GPL-2.0-only */
/*
 * Copyright (C) 2012 ARM Ltd.
 */
#ifndef __ASM_SHMPARAM_H
#define __ASM_SHMPARAM_H

/*
 * For IPC syscalls from compat tasks, we need to use the legacy 16k
 * alignment value. Since we don't have aliasing D-caches, the rest of
 * the time we can safely use PAGE_SIZE.
 */
#define COMPAT_SHMLBA	(4 * PAGE_SIZE)

#include <asm-generic/shmparam.h>

#endif /* __ASM_SHMPARAM_H */