2002-04-18 11:50:32

by Gerd Knorr

[permalink] [raw]
Subject: [patch] export vmalloc_to_page (2.4)

Hi,

This patch exports the vmalloc_to_page() without _GPL. It is taken from
the 2.5 tree, it should go into 2.4 too to keep the interface for
drivers identical in both kernel trees.

Gerd

==============================[ cut here ]==============================
# This is a BitKeeper generated patch for the following project:
# Project Name: Linux kernel tree
# This patch format is intended for GNU patch command version 2.5 or higher.
# This patch includes the following deltas:
# ChangeSet 1.369.90.124 -> 1.369.90.125
# kernel/ksyms.c 1.72 -> 1.73
#
# The following is the BitKeeper ChangeSet Log
# --------------------------------------------
# 02/04/03 [email protected] 1.369.90.125
# vmalloc_to_page() should be usable for everybody (see discussion
# on kernel mailing list)
# --------------------------------------------
#
diff -Nru a/kernel/ksyms.c b/kernel/ksyms.c
--- a/kernel/ksyms.c Thu Apr 18 13:32:11 2002
+++ b/kernel/ksyms.c Thu Apr 18 13:32:11 2002
@@ -107,7 +107,7 @@
EXPORT_SYMBOL(kfree);
EXPORT_SYMBOL(vfree);
EXPORT_SYMBOL(__vmalloc);
-EXPORT_SYMBOL_GPL(vmalloc_to_page);
+EXPORT_SYMBOL(vmalloc_to_page);
EXPORT_SYMBOL(mem_map);
EXPORT_SYMBOL(remap_page_range);
EXPORT_SYMBOL(max_mapnr);