shmparam.h 425 B

1234567891011121314151617
  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. * For IPC syscalls from compat tasks, we need to use the legacy 16k
  9. * alignment value. Since we don't have aliasing D-caches, the rest of
  10. * the time we can safely use PAGE_SIZE.
  11. */
  12. #define COMPAT_SHMLBA (4 * PAGE_SIZE)
  13. #include <asm-generic/shmparam.h>
  14. #endif /* __ASM_SHMPARAM_H */