[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Why system call is returning -1 ??????
Could you try editing the code to just say
asmlinkage long sys_getjiffies( void )
{
return 10; // read jiffies with the get_jiffies_64 function.
}
and see whats happening?
I just want to see where the problem is ...
Also didn't you increase #define NR_syscalls in unistd.h? You need to
increment it by one.
Regards,
duryodhan
--
To unsubscribe from this list: send an email with
"unsubscribe kernelnewbies" to ecartis@xxxxxxxxxxxx
Please read the FAQ at http://kernelnewbies.org/FAQ