I have read that it is used for functions that implement system calls in Linux. For example:
asmlinkage long sys_getjiffies( void )
{
return (long)get_jiffies_64();
}
and that it tells the compiler to pass all function arguments on the stack. But isn't that already the case? Function arguments are generally passed by pushing them on stack only. Or is it that we are referring to passing function arguments through registers here?