|
@@ -15,9 +15,10 @@ extern void uml_setup_stubs(struct mm_struct *mm);
|
|
|
/*
|
|
|
* Needed since we do not use the asm-generic/mm_hooks.h:
|
|
|
*/
|
|
|
-static inline void arch_dup_mmap(struct mm_struct *oldmm, struct mm_struct *mm)
|
|
|
+static inline int arch_dup_mmap(struct mm_struct *oldmm, struct mm_struct *mm)
|
|
|
{
|
|
|
uml_setup_stubs(mm);
|
|
|
+ return 0;
|
|
|
}
|
|
|
extern void arch_exit_mmap(struct mm_struct *mm);
|
|
|
static inline void arch_unmap(struct mm_struct *mm,
|