blob: 9c4bedc9550441086beedc275636fd1f12c3ebad [file] [log] [blame]
Thomas Gleixnerd2912cb2019-06-04 10:11:33 +02001/* SPDX-License-Identifier: GPL-2.0-only */
Laurent Dufour2ae416b2015-06-24 16:56:16 -07002/*
3 * Generic mm no-op hooks.
4 *
5 * Copyright (C) 2015, IBM Corporation
6 * Author: Laurent Dufour <ldufour@linux.vnet.ibm.com>
Laurent Dufour2ae416b2015-06-24 16:56:16 -07007 */
8#ifndef _LINUX_MM_ARCH_HOOKS_H
9#define _LINUX_MM_ARCH_HOOKS_H
10
11#include <asm/mm-arch-hooks.h>
12
Laurent Dufour4abad2c2015-06-24 16:56:19 -070013#ifndef arch_remap
14static inline void arch_remap(struct mm_struct *mm,
15 unsigned long old_start, unsigned long old_end,
16 unsigned long new_start, unsigned long new_end)
17{
18}
19#define arch_remap arch_remap
20#endif
21
Laurent Dufour2ae416b2015-06-24 16:56:16 -070022#endif /* _LINUX_MM_ARCH_HOOKS_H */