All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Sébastien Côté" <scote1@Matrox.COM>
To: David Woodhouse <dwmw2@infradead.org>
Cc: mtd@infradead.org
Subject: Re: get_module_symbol / put_module_symbol
Date: Tue, 08 Aug 2000 08:50:51 -0400	[thread overview]
Message-ID: <3990022B.51406A3A@matrox.com> (raw)
In-Reply-To: 31647.965720843@cygnus.co.uk

David Woodhouse wrote:
> 
> scote1@Matrox.COM said:
> >  I want to compile MTD builtin in the kernel but the usage of
> > get_module_symbol and put_module_symbol makes it impossible at the
> > moment.  I grepped -r 'put_module_symbol' in linux/drivers/* for linux
> > 2.2.16 and MTD was the only driver using it.  I'm not sure how this
> > should be replaced but I'd really like to get rid of it.
> 
> There's a fairly small patch to add put_module_symbol() to the 2.2 kernel,
> and to change the behaviour of get_module_symbol() accordingly - to make it
> match the 2.4 versions.
> 
> If you can come up with a better way to handle use counts, feel free.


The problem is I want to compile a kernel with modules completly
disabled and right now it's not possible.
I COULD enable modules but since I want JFFS on my root partition, MTD
must be built in and I don't have any use for any other module.

But as I see it, the only problem is that get_module_sumbol() and
put_...() are called even if MTD isn't a module.  There's no need to
track use counts when you're not a module, right ?

-- 
Sébastien Côté


To unsubscribe, send "unsubscribe mtd" to majordomo@infradead.org

  reply	other threads:[~2000-08-08 12:49 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-08-07 19:48 get_module_symbol / put_module_symbol Sébastien Côté
2000-08-08  7:47 ` David Woodhouse
2000-08-08 12:50   ` Sébastien Côté [this message]
2000-08-29 23:54   ` MTD support for 8x16 devices Alice Hennessy
2000-08-30  1:02     ` Stéphane Laroche
2000-08-30  8:48     ` David Woodhouse
2000-09-01  1:05       ` Alice Hennessy
2000-09-04 13:16         ` David Woodhouse
2000-09-07 18:39           ` get_module_symbol Alice Hennessy
2000-09-08  7:34             ` get_module_symbol David Woodhouse

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=3990022B.51406A3A@matrox.com \
    --to=scote1@matrox.com \
    --cc=dwmw2@infradead.org \
    --cc=mtd@infradead.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.