mm-arch-hooks.h 533 B

12345678910111213141516171819202122
  1. /* SPDX-License-Identifier: GPL-2.0-only */
  2. /*
  3. * Generic mm no-op hooks.
  4. *
  5. * Copyright (C) 2015, IBM Corporation
  6. * Author: Laurent Dufour <ldufour@linux.vnet.ibm.com>
  7. */
  8. #ifndef _LINUX_MM_ARCH_HOOKS_H
  9. #define _LINUX_MM_ARCH_HOOKS_H
  10. #include <asm/mm-arch-hooks.h>
  11. #ifndef arch_remap
  12. static inline void arch_remap(struct mm_struct *mm,
  13. unsigned long old_start, unsigned long old_end,
  14. unsigned long new_start, unsigned long new_end)
  15. {
  16. }
  17. #define arch_remap arch_remap
  18. #endif
  19. #endif /* _LINUX_MM_ARCH_HOOKS_H */