All of lore.kernel.org
 help / color / mirror / Atom feed
From: Michael Rozhavsky <mrozhavsky@opticalaccess.com>
To: Kirill Ratkin <kratkin@egartech.com>
Cc: linux-kernel@vger.kernel.org
Subject: Re: Call kernel function from module
Date: Wed, 31 Oct 2001 13:34:38 +0200	[thread overview]
Message-ID: <20011031133438.O24143@opticalaccess.com> (raw)
In-Reply-To: <01103112311302.00794@nemo> <3BDFD866.E6E997CC@egartech.com>
In-Reply-To: <3BDFD866.E6E997CC@egartech.com>; from kratkin@egartech.com on Wed, Oct 31, 2001 at 01:54:30PM +0300

[snip]
> 
> Hi! Could somebody help me? I added several functions (not sys calls) to
> kernel as hardcoded part. Then I write modules which will be call these
> functions. But when I load module insmod says me 'can't resolve symbol
> my_func_name'.
> I exported all my functions in netsyms.c file. Do you know how I can see
> my function?

use EXPORT_SYMBOL macro from include/module.h

> 
> Regards,
> Niktar.
> -
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at  http://www.tux.org/lkml/
Best regards.

--
   Michael Rozhavsky			Tel:    +972-4-9936248
   mrozhavsky@opticalaccess.com		Fax:    +972-4-9890564
   Optical Access  
   Senior Software Engineer		www.opticalaccess.com

  reply	other threads:[~2001-10-31 11:34 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-10-31 12:31 [PATCH] setup.S: fix for BIOS/DOS not reporting ext mem size vda
2001-10-31 10:54 ` Call kernel function from module Kirill Ratkin
2001-10-31 11:34   ` Michael Rozhavsky [this message]
2001-10-31 11:46     ` Kirill Ratkin

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=20011031133438.O24143@opticalaccess.com \
    --to=mrozhavsky@opticalaccess.com \
    --cc=kratkin@egartech.com \
    --cc=linux-kernel@vger.kernel.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.