Re: Why system call is returning -1 ??????

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux