_syscall3 in 2.6.21

Submitted by Anonymous
on July 11, 2007 - 12:30am

I am porting an old driver from 2.6.18 to 2.6.21,
however i am currently stuck with the following macro:
asmlinkage _syscall3(int,write,int,fd,const char *,buf,off_t,count)

What is the correct way to replace it for 2.6.21 ?

Regards
Renzo

google "syscalls in kernel"

strcmp
on
July 11, 2007 - 12:00pm

found http://www.linux.it/~rubini/docs/ksys/, but read the second last paragraph first.

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.