mm-arch-hooks.h 679 B

12345678910111213141516171819202122232425
  1. /*
  2. * Generic mm no-op hooks.
  3. *
  4. * Copyright (C) 2015, IBM Corporation
  5. * Author: Laurent Dufour <ldufour@linux.vnet.ibm.com>
  6. *
  7. * This program is free software; you can redistribute it and/or modify
  8. * it under the terms of the GNU General Public License version 2 as
  9. * published by the Free Software Foundation.
  10. */
  11. #ifndef _LINUX_MM_ARCH_HOOKS_H
  12. #define _LINUX_MM_ARCH_HOOKS_H
  13. #include <asm/mm-arch-hooks.h>
  14. #ifndef arch_remap
  15. static inline void arch_remap(struct mm_struct *mm,
  16. unsigned long old_start, unsigned long old_end,
  17. unsigned long new_start, unsigned long new_end)
  18. {
  19. }
  20. #define arch_remap arch_remap
  21. #endif
  22. #endif /* _LINUX_MM_ARCH_HOOKS_H */