[patch] export vmalloc_to_page (2.4)

Gerd Knorr (kraxel@bytesex.org)
Thu, 18 Apr 2002 13:46:09 +0200


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 torvalds@penguin.transmeta.com 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);
-
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/