All of lore.kernel.org
 help / color / mirror / Atom feed
From: Stelian Pop <stelian@popies.net>
To: Linus Torvalds <torvalds@osdl.org>,
	Linux Kernel Mailing List <linux-kernel@vger.kernel.org>
Subject: [PATCH] Export handle_mm_fault to modules.
Date: Fri, 05 Aug 2005 23:55:12 +0200	[thread overview]
Message-ID: <1123278912.8224.2.camel@localhost.localdomain> (raw)

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>


             reply	other threads:[~2005-08-05 21:59 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-08-05 21:55 Stelian Pop [this message]
2005-08-05 22:22 ` [PATCH] Export handle_mm_fault to modules 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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1123278912.8224.2.camel@localhost.localdomain \
    --to=stelian@popies.net \
    --cc=linux-kernel@vger.kernel.org \
    --cc=torvalds@osdl.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.