Thomas Gleixner | caab277 | 2019-06-03 07:44:50 +0200 | [diff] [blame] | 1 | /* SPDX-License-Identifier: GPL-2.0-only */ |
Catalin Marinas | f668cd1 | 2012-03-05 11:49:30 +0000 | [diff] [blame] | 2 | /* |
| 3 | * Copyright (C) 2012 ARM Ltd. |
Catalin Marinas | f668cd1 | 2012-03-05 11:49:30 +0000 | [diff] [blame] | 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 | */ |
Yury Norov | b9b7aeb | 2015-12-02 14:00:10 +0000 | [diff] [blame] | 13 | #define COMPAT_SHMLBA (4 * PAGE_SIZE) |
Catalin Marinas | f668cd1 | 2012-03-05 11:49:30 +0000 | [diff] [blame] | 14 | |
| 15 | #include <asm-generic/shmparam.h> |
| 16 | |
| 17 | #endif /* __ASM_SHMPARAM_H */ |