提交 217f4433 编写于 作者: H 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: NHeiko Carstens <heiko.carstens@de.ibm.com>
上级 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% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册