module accessing remap_rage_range

Bob Felderman (feldy@myri.com)
Tue, 22 Aug 95 11:31:25 PDT


I have a module that is providing mmap() service. I need to call
remap_page_range [defined in mm/memory.c].
The loader (insmod) doesn't seem to find the function.

I have lots of other kernel functions that I reference, but only
this one doesn't work?

pandora:# uname -a
Linux pandora 1.2.11 #2 Tue Aug 22 10:43:43 PDT 1995 i586

I'm running under 1.2.11 and compiling under 1.2.11
and using the modules package (modules-1.1.87).

pandora:# insmod myrinet
_remap_page_range undefined

This makes no sense because I see that it is in System.map
and that mm/memory.c is getting compiled.

pandora 56% pwd
/usr/src/linux-1.2.11
pandora 57% grep remap System.map
0011f0d0 T _remap_page_range
pandora 58%
pandora 58% strings - mm/memory.o | grep remap
_remap_page_range
pandora 59% strings - vmlinux | grep remap
_remap_page_range

Any help would be appreciated.
Bob Felderman
Myricom Inc.
325B N. Santa Anita Ave.
Arcadia, CA 91006
(818) 821-5555
(818) 821-5316 fax
feldy@myri.com
http://www.myri.com