summaryrefslogtreecommitdiff
path: root/libdde-linux26/contrib/include/asm-generic/mm_hooks.h
diff options
context:
space:
mode:
authorSamuel Thibault <samuel.thibault@ens-lyon.org>2013-07-27 22:15:01 +0000
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2013-07-27 22:15:01 +0000
commit7996a3d79d55b7f879dfd62e202bbfe2963718d3 (patch)
tree8d9f6759fec4099b9be503c11c7ed174f7204980 /libdde-linux26/contrib/include/asm-generic/mm_hooks.h
parent4fbe7358c7747a9165f776eb19addbb9baf7def2 (diff)
really properly move files
Diffstat (limited to 'libdde-linux26/contrib/include/asm-generic/mm_hooks.h')
-rw-r--r--libdde-linux26/contrib/include/asm-generic/mm_hooks.h18
1 files changed, 18 insertions, 0 deletions
diff --git a/libdde-linux26/contrib/include/asm-generic/mm_hooks.h b/libdde-linux26/contrib/include/asm-generic/mm_hooks.h
new file mode 100644
index 00000000..67dea812
--- /dev/null
+++ b/libdde-linux26/contrib/include/asm-generic/mm_hooks.h
@@ -0,0 +1,18 @@
+/*
+ * Define generic no-op hooks for arch_dup_mmap and arch_exit_mmap, to
+ * be included in asm-FOO/mmu_context.h for any arch FOO which doesn't
+ * need to hook these.
+ */
+#ifndef _ASM_GENERIC_MM_HOOKS_H
+#define _ASM_GENERIC_MM_HOOKS_H
+
+static inline void arch_dup_mmap(struct mm_struct *oldmm,
+ struct mm_struct *mm)
+{
+}
+
+static inline void arch_exit_mmap(struct mm_struct *mm)
+{
+}
+
+#endif /* _ASM_GENERIC_MM_HOOKS_H */