[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: how can i add a kernel function ?



On Mon, 2 Oct 2000, Tigran Aivazian wrote:
> On Mon, 2 Oct 2000, BenHanokh Gabriel wrote:
> 
> > hi
> > 
> > i'm trying to add a function of my own to my copy of fs/buffer.c
> > 
> > how can i export the symbol ?
> 
> add an entry to kernel/ksyms.c like this:

Not specifically related to BenHanokh Gabriel's problem, but I wanted
to take this opportunity to point out that we want to move away from
putting all exported symbols in one file.  Linus prefers that the
symbols are exported from the files in which they are declared.

Eventually we want to do away with the distinction of O_OBJS and
OX_OBJS, and just treat all files as OX_OBJS.  Linus suggested I look
into this but there were higher priority items.  Maybe some of the
kbuild guys will tackle it...

	Jeff




--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org.  For more info on Linux MM,
see: http://www.linux.eu.org/Linux-MM/