public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] Export handle_mm_fault to modules.
@ 2005-08-05 21:55 Stelian Pop
  2005-08-05 22:22 ` Dave Jones
  2005-08-05 23:02 ` Linus Torvalds
  0 siblings, 2 replies; 8+ messages in thread
From: Stelian Pop @ 2005-08-05 21:55 UTC (permalink / raw)
  To: Linus Torvalds, Linux Kernel Mailing List

handle_mm_fault changed from an inline function to a non-inline one
(__handle_mm_fault), which is not available to external kernel modules.
The patch below fixes this.

Stelian.

Export __handle_mm_fault to modules (called by the inlined handle_mm_fault function).

Signed-off-by: Stelian Pop <stelian@popies.net>

Index: linux-2.6.git/mm/memory.c
===================================================================
--- linux-2.6.git.orig/mm/memory.c	2005-08-05 22:26:20.000000000 +0200
+++ linux-2.6.git/mm/memory.c	2005-08-05 23:46:49.000000000 +0200
@@ -2061,6 +2061,7 @@
 	spin_unlock(&mm->page_table_lock);
 	return VM_FAULT_OOM;
 }
+EXPORT_SYMBOL(__handle_mm_fault);
 
 #ifndef __PAGETABLE_PUD_FOLDED
 /*

-- 
Stelian Pop <stelian@popies.net>


^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2005-08-08 18:42 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-08-05 21:55 [PATCH] Export handle_mm_fault to modules Stelian Pop
2005-08-05 22:22 ` Dave Jones
2005-08-05 23:02 ` Linus Torvalds
2005-08-05 23:25   ` Olof Johansson
2005-08-05 23:43     ` Linus Torvalds
2005-08-06 21:07       ` Stelian Pop
2005-08-08  8:44       ` Arnd Bergmann
2005-08-08 18:42         ` Linus Torvalds

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox