net/mlx5: Better return types for CQE API
[sfrench/cifs-2.6.git] / include / linux / mm-arch-hooks.h
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
14 #include <asm/mm-arch-hooks.h>
15
16 #ifndef arch_remap
17 static inline void arch_remap(struct mm_struct *mm,
18                               unsigned long old_start, unsigned long old_end,
19                               unsigned long new_start, unsigned long new_end)
20 {
21 }
22 #define arch_remap arch_remap
23 #endif
24
25 #endif /* _LINUX_MM_ARCH_HOOKS_H */