public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* Re: drivers/char/random.c exported interfaces
@ 2006-09-20 17:04 Robin Getz
  2006-09-20 17:20 ` Randy.Dunlap
  2006-09-21  4:11 ` Dmitry Torokhov
  0 siblings, 2 replies; 10+ messages in thread
From: Robin Getz @ 2006-09-20 17:04 UTC (permalink / raw)
  To: Randy.Dunlap; +Cc: linux-kernel, dmitry.torokhov

Randy Dunlap said:
>ISTM that we should at least fix the first 2 (by EXPORTing them).
>or we don't allow INPUT=m.
>
>You want to send a patch?

No problem - which patch do you want? (exporting? or set INPUT to bool?)

I'll send the export later tonight if no objections.

-Robin


^ permalink raw reply	[flat|nested] 10+ messages in thread
* Re: drivers/char/random.c exported interfaces
@ 2006-09-21 20:35 Robin Getz
  0 siblings, 0 replies; 10+ messages in thread
From: Robin Getz @ 2006-09-21 20:35 UTC (permalink / raw)
  To: Dave Jones
  Cc: Dmitry Torokhov, Randy.Dunlap, linux-kernel, Greg KH,
	Andrew Morton

Dave Jones pondered:
>Under what circumstances is it desirable to allow INPUT=m ?

I know there are some people using it in their embedded product. I don't 
exactly know _why_, but last time I checked it was to ensure that the 
kernel was as small as possible - which reduces boot time, and their kernel 
flash footprint (kernel and file system are seperate).

The input subsystem is one of the last to be initialized in their system, 
so it allows a little more flexibility in their overall system design.

-Robin 

^ permalink raw reply	[flat|nested] 10+ messages in thread
* drivers/char/random.c exported interfaces
@ 2006-09-18 13:27 Robin Getz
  2006-09-20 16:56 ` Randy.Dunlap
  0 siblings, 1 reply; 10+ messages in thread
From: Robin Getz @ 2006-09-18 13:27 UTC (permalink / raw)
  To: linux-kernel

It says in the comments in drivers/char/random.c that:

   * Exported interfaces ---- input
   * ==============================
   *
   * The current exported interfaces for gathering environmental noise
   * from the devices are:
   *
   * 	void add_input_randomness(unsigned int type, unsigned int code,
   *                                unsigned int value);
   * 	void add_interrupt_randomness(int irq);
   *
   * add_input_randomness() uses the input layer interrupt timing, as well as
   * the event type information from the hardware.
   *
[..snip..]

If "add_input_randomness" is an "Exported interface" why is it not an
exported symbol?

If I build drivers/input/input.ko, I get the error:

** Warning: "add_input_randomness" [drivers/input/input.ko] undefined!

?

Thanks
-Robin

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2006-09-21 20:35 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-09-20 17:04 drivers/char/random.c exported interfaces Robin Getz
2006-09-20 17:20 ` Randy.Dunlap
2006-09-21  4:11 ` Dmitry Torokhov
2006-09-21 10:45   ` Theodore Tso
2006-09-21 11:30   ` Greg KH
2006-09-21 19:15   ` Dave Jones
     [not found]     ` <d120d5000609211238t1fb38d4exaa5c107a55a9eac3@mail.gmail.com>
2006-09-21 19:50       ` Dave Jones
  -- strict thread matches above, loose matches on Subject: below --
2006-09-21 20:35 Robin Getz
2006-09-18 13:27 Robin Getz
2006-09-20 16:56 ` Randy.Dunlap

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