public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [RFC PATCH 0/3] Fix module information when symbol_get is used
@ 2007-03-10  4:31 Mauro Carvalho Chehab
  0 siblings, 0 replies; only message in thread
From: Mauro Carvalho Chehab @ 2007-03-10  4:31 UTC (permalink / raw)
  To: rusty
  Cc: Trent Piepho, Rechberger Markus, Linux DVB, David Woodhouse,
	Andrew Morton, LKML

Hi Rusty,

DVB code uses symbol_get/symbol_put functions at module.c to allow
dynamically add frontend modules (responsible for tuning and
demodulating the digital signal). The problem is that symbol_get doesn't
properly mark the module that requested it.

Trent worked on a fix for this, by using 3 patches. One on module.c,
another on mtd driver, and the last one on linux-dvb.

With the patch, lsmod produces output like this:
cx88_dvb               14084  0
or51132                 9988  1 cx88_dvb

Without it, this is what you get:
cx88_dvb               14084  0
or51132                 9988  1


 drivers/media/dvb/bt8xx/dst.c             |    5 -
 drivers/media/dvb/dvb-core/dvb_frontend.c |    9 +--
 drivers/mtd/chips/gen_probe.c             |    4 -
 include/linux/module.h                    |   13 ++--
 kernel/module.c                           |   87 ++++++++++++++++++++++--------
 5 files changed, 80 insertions(+), 38 deletions(-)


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2007-03-10  4:31 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-03-10  4:31 [RFC PATCH 0/3] Fix module information when symbol_get is used Mauro Carvalho Chehab

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox