mpc / linux kernel - user space

Wolfgang Denk wd at denx.de
Fri Nov 28 19:14:30 EST 2003


In message <006801c3b571$408bc6e0$c314a8c0 at cm> you wrote:
>
> Write an ioctl method in your module. And provide provision in ioctl to take
> a function pointer & store it.

What a bogus advice.

You CANNOT call user space code from kernel  context.  [And  actually
you don't want to.]

Best regards,

Wolfgang Denk

--
Software Engineering:  Embedded and Realtime Systems,  Embedded Linux
Phone: (+49)-8142-4596-87  Fax: (+49)-8142-4596-88  Email: wd at denx.de
Human beings were created by water to transport it uphill.

** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/





More information about the Linuxppc-embedded mailing list