On Wed, Jun 27, 2007 at 05:11:00PM +0100, David Woodhouse wrote: > No, because you're passing a _kernel_ pointer to sys_time_pps_fetch() > where it expects a userspace pointer. Use compat_alloc_user_space() to > find somewhere to put it in user space, instead. Or change your internal > __sys_time_pps_fetch() function to take a number of ticks instead of a > pointer to a timespec, then call that directly with appropriate > arguments, from both the normal and compat syscall routines. Ok. Please see the attached patch. Thanks a lot, Rodolfo -- GNU/Linux Solutions e-mail: giometti@enneenne.com Linux Device Driver giometti@gnudd.com Embedded Systems giometti@linux.it UNIX programming phone: +39 349 2432127