shmparam.h 419 B

1234567891011121314151617
  1. /* SPDX-License-Identifier: GPL-2.0 */
  2. #ifndef _ASMARM_SHMPARAM_H
  3. #define _ASMARM_SHMPARAM_H
  4. /*
  5. * This should be the size of the virtually indexed cache/ways,
  6. * or page size, whichever is greater since the cache aliases
  7. * every size/ways bytes.
  8. */
  9. #define SHMLBA (4 * PAGE_SIZE) /* attach addr a multiple of this */
  10. /*
  11. * Enforce SHMLBA in shmat
  12. */
  13. #define __ARCH_FORCE_SHMLBA
  14. #endif /* _ASMARM_SHMPARAM_H */