Greg Kroah-Hartman | b244131 | 2017-11-01 15:07:57 +0100 | [diff] [blame] | 1 | /* SPDX-License-Identifier: GPL-2.0 */ |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 2 | #ifndef _ASMARM_SHMPARAM_H |
| 3 | #define _ASMARM_SHMPARAM_H |
| 4 | |
| 5 | /* |
| 6 | * This should be the size of the virtually indexed cache/ways, |
| 7 | * or page size, whichever is greater since the cache aliases |
| 8 | * every size/ways bytes. |
| 9 | */ |
| 10 | #define SHMLBA (4 * PAGE_SIZE) /* attach addr a multiple of this */ |
| 11 | |
| 12 | /* |
| 13 | * Enforce SHMLBA in shmat |
| 14 | */ |
| 15 | #define __ARCH_FORCE_SHMLBA |
| 16 | |
| 17 | #endif /* _ASMARM_SHMPARAM_H */ |