netlink: revert broken, broken "2-clause nla_ok()"
[linux-2.6/btrfs-unstable.git] / include / linux / mm-arch-hooks.h
blob4efc3f56e6dfdab1fbcc45ed1f30763e6e1bcbc9
1 /*
2 * Generic mm no-op hooks.
4 * Copyright (C) 2015, IBM Corporation
5 * Author: Laurent Dufour <ldufour@linux.vnet.ibm.com>
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.
11 #ifndef _LINUX_MM_ARCH_HOOKS_H
12 #define _LINUX_MM_ARCH_HOOKS_H
14 #include <asm/mm-arch-hooks.h>
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)
22 #define arch_remap arch_remap
23 #endif
25 #endif /* _LINUX_MM_ARCH_HOOKS_H */