lkml.org 
[lkml]   [2005]   [Aug]   [5]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Subject[PATCH] Export handle_mm_fault to modules.
From
Date
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>

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-08-06 00:04    [W:0.079 / U:3.016 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site