[OpenAFS-devel] sys_call_table on mips

Derrick J Brashear shadow@dementia.org
Tue, 16 Sep 2003 00:55:46 -0400 (EDT)


On Mon, 15 Sep 2003, Ryan Underwood wrote:

> > No, the Debian kernels for mips are built without modversions.  This
> > presented problems for ALSA as well; I assume there is a good reason for
> > it.
>
> Sooo.. without modversions and without sys_call_table, what is necessary
> to set up the kernel hooks?

You should really fix the kernel to use modversions, but...

either find the address of sys_call_table, initialize sys_call_table to
that value in the right place in src/afs/LINUX/osi_module.c
or edit afsconfig.h such that it knows sys_call_table isn't exported,
*and* knows which sys_(mumble)s are exported, so it can look for it with
those.

Or, make the address a module parameter to be passed in.