From: Marc Koschewski <marc@osknowledge.org>
To: omkar lagu <omkarlagu@yahoo.com>
Cc: linux-kernel@vger.kernel.org
Subject: Re: kernel hook...
Date: Sat, 18 Feb 2006 17:55:49 +0100 [thread overview]
Message-ID: <20060218165549.GA5791@stiffy.osknowledge.org> (raw)
In-Reply-To: <20060218145152.85941.qmail@web50309.mail.yahoo.com>
* omkar lagu <omkarlagu@yahoo.com> [2006-02-18 06:51:52 -0800]:
> hi all,
>
> help needed..
> we want to call a function from the kernel code which
> is defined in our module and the function should be
> only called when we insert our module in the kernel.
> we are really struggling with this..can anyone suggest
> a solution for this with a example.
>
> thanks in advance
static int __init init_my_module (void) {
call_function();
return 0;
}
EXPORT_SYMBOL(init_my_module);
Marc
prev parent reply other threads:[~2006-02-18 16:55 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-02-18 14:51 omkar lagu
2006-02-18 16:55 ` Marc Koschewski [this message]
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=20060218165549.GA5791@stiffy.osknowledge.org \
--to=marc@osknowledge.org \
--cc=linux-kernel@vger.kernel.org \
--cc=omkarlagu@yahoo.com \
/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
Powered by JetHome