Commit 217f4433 authored by Heiko Carstens's avatar Heiko Carstens

compat: add COMPAT_SYSCALL_DEFINE0 macro

For consistency reason add a COMPAT_SYSCALL_DEFINE0 macro.
This macro should be used for compat system calls with zero parameters.
Signed-off-by: default avatarHeiko Carstens <heiko.carstens@de.ibm.com>
parent 0473c9b5
......@@ -27,6 +27,9 @@
#define __SC_DELOUSE(t,v) ((t)(unsigned long)(v))
#endif
#define COMPAT_SYSCALL_DEFINE0(name) \
asmlinkage long compat_sys_##name(void)
#define COMPAT_SYSCALL_DEFINE1(name, ...) \
COMPAT_SYSCALL_DEFINEx(1, _##name, __VA_ARGS__)
#define COMPAT_SYSCALL_DEFINE2(name, ...) \
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment