How to call system call from usb driver's code
I need to call one system call inside linux-126.96.36.199/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..