linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
From: Tigran Aivazian <tigran@veritas.com>
To: BenHanokh Gabriel <gabriel@SANgate.com>
Cc: linux-mm@kvack.org
Subject: Re: how can i add a kernel function ?
Date: Mon, 2 Oct 2000 13:51:31 +0100 (BST)	[thread overview]
Message-ID: <Pine.LNX.4.21.0010021349240.952-100000@saturn.homenet> (raw)
In-Reply-To: <39D880FA.CFCC31E7@SANgate.com>

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:

/* BenHakokh's function to do .... */
EXPORT_SYMBOL(bhg_doit);

also, make sure that the declaration of the function is visible to
kernel/ksyms.c.

Regards,
Tigran

--
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/

  reply	other threads:[~2000-10-02 12:51 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-10-02 12:35 BenHanokh Gabriel
2000-10-02 12:51 ` Tigran Aivazian [this message]
2000-10-02 12:59   ` Jeff Garzik

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=Pine.LNX.4.21.0010021349240.952-100000@saturn.homenet \
    --to=tigran@veritas.com \
    --cc=gabriel@SANgate.com \
    --cc=linux-mm@kvack.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox