How to call system call from usb driver's code
Hello,
I need to call one system call inside linux-2.6.22.14/drivers/usb/storage/usb.c .
I just included <linux/syscalls.h>
and called the api like (sys_getpid())...
but when I compiled the code, I got error ..undefined refence to sys_getpid....
If anybody has any idea on how to call system call within drivers code..
plz advise..
Mr.J
|