]> git.ipfire.org Git - people/teissler/ipfire-2.x.git/blobdiff - src/patches/suse-2.6.27.31/patches.suse/suse-ppc32-mol-handle-mm-fault
Reenabled linux-xen, added patches for Xen Kernel Version 2.6.27.31,
[people/teissler/ipfire-2.x.git] / src / patches / suse-2.6.27.31 / patches.suse / suse-ppc32-mol-handle-mm-fault
diff --git a/src/patches/suse-2.6.27.31/patches.suse/suse-ppc32-mol-handle-mm-fault b/src/patches/suse-2.6.27.31/patches.suse/suse-ppc32-mol-handle-mm-fault
new file mode 100644 (file)
index 0000000..bd42e93
--- /dev/null
@@ -0,0 +1,25 @@
+From: Jeff Mahoney <jeffm@suse.com>
+Subject: [PATCH] mm: re-export handle_mm_fault for Mac On Linux
+Patch-mainline: probably never
+
+ This patch reverts git commit 41f9dc5c871600f53c8912b2975971d2a11c1c25,
+ which removed the handle_mm_fault export when spufs became a builtin.
+
+ Mac On Linux requires this to be exported.
+
+Signed-off-by: Jeff Mahoney <jeffm@suse.com>
+
+---
+ mm/memory.c |    1 +
+ 1 file changed, 1 insertion(+)
+
+--- a/mm/memory.c
++++ b/mm/memory.c
+@@ -2803,6 +2803,7 @@ int handle_mm_fault(struct mm_struct *mm
+       return handle_pte_fault(mm, vma, address, pte, pmd, write_access);
+ }
++EXPORT_SYMBOL_GPL(handle_mm_fault); /* For MoL */
+ #ifndef __PAGETABLE_PUD_FOLDED
+ /*