lkml.org 
[lkml]   [1996]   [Jul]   [25]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subjectpgtable.h and modules
Date
Folks,

I need to use a few functions defined in pgtable.h from
a module, for example pgd_offset(). When I try to load
this module, insmod generates an error indicating that
pgd_offset() is not defined.

I tried to add pgd_offset to the list of exported symbols
by including page.h and pgtable.h and by adding X(pgd_offset)
in ksyms.h. Unfortunately, the kernel compilation now fails
with the error:

kernel/kernel.o(.data+0x7c): undefined reference to `pgd_offset'

Is there a solution to this problem? or is it not possible
at all to use the page table management functions from within
loadable modules? ...

Thanx!

PS: related config info:

version 2.0.0

CONFIG_MODULES=y
# CONFIG_MODVERSIONS is not set
# CONFIG_KERNELD is not set


\
 
 \ /
  Last update: 2005-03-22 13:37    [W:0.043 / U:0.368 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site