diff options
author | Christophe Leroy <christophe.leroy@csgroup.eu> | 2020-12-18 14:07:58 +0000 |
---|---|---|
committer | Richard Weinberger <richard@nod.at> | 2021-02-12 21:27:43 +0100 |
commit | 731ecea3e5495aa6bd3cb8587f5267cf5e4220e2 (patch) | |
tree | ff4669f2ecdaf3c610c96239e6e0101014d3af15 /include/linux/mm-arch-hooks.h | |
parent | 3a5f4154741f9e0a6fad06020d07533b76e0057e (diff) | |
download | lwn-731ecea3e5495aa6bd3cb8587f5267cf5e4220e2.tar.gz lwn-731ecea3e5495aa6bd3cb8587f5267cf5e4220e2.zip |
mm: Remove arch_remap() and mm-arch-hooks.h
powerpc was the last provider of arch_remap() and the last
user of mm-arch-hooks.h.
Since commit 526a9c4a7234 ("powerpc/vdso: Provide vdso_remap()"),
arch_remap() hence mm-arch-hooks.h are not used anymore.
Remove them.
Signed-off-by: Christophe Leroy <christophe.leroy@csgroup.eu>
Signed-off-by: Richard Weinberger <richard@nod.at>
Diffstat (limited to 'include/linux/mm-arch-hooks.h')
-rw-r--r-- | include/linux/mm-arch-hooks.h | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/include/linux/mm-arch-hooks.h b/include/linux/mm-arch-hooks.h deleted file mode 100644 index 9c4bedc95504..000000000000 --- a/include/linux/mm-arch-hooks.h +++ /dev/null @@ -1,22 +0,0 @@ -/* SPDX-License-Identifier: GPL-2.0-only */ -/* - * Generic mm no-op hooks. - * - * Copyright (C) 2015, IBM Corporation - * Author: Laurent Dufour <ldufour@linux.vnet.ibm.com> - */ -#ifndef _LINUX_MM_ARCH_HOOKS_H -#define _LINUX_MM_ARCH_HOOKS_H - -#include <asm/mm-arch-hooks.h> - -#ifndef arch_remap -static inline void arch_remap(struct mm_struct *mm, - unsigned long old_start, unsigned long old_end, - unsigned long new_start, unsigned long new_end) -{ -} -#define arch_remap arch_remap -#endif - -#endif /* _LINUX_MM_ARCH_HOOKS_H */ |