What is asmlinkage ?
In /linux/shm.h there are many "asmlinkage" declaration like
asmlinkage int sys_shmat();
The source code for it is /linux/ipc/shm.c (and object file is /linux/ipc/shm.o)
I wish to use sys_shmat() in a module: how can I do this ?
Thank you.
** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/
Quoted 4 lines · Alain Birtz
In /linux/shm.h there are many "asmlinkage" declaration like
asmlinkage int
sys_shmat();
asmlinkage is #define'd in /usr/include/linux/linkage.h
** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/