summaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2013-03-05 15:36:40 -0500
committerAl Viro <viro@zeniv.linux.org.uk>2013-03-05 15:36:40 -0500
commit99e621f796d7f0341a51e8cdf32b81663b10b448 (patch)
tree0e3a67d9b4c3484b9b2a653f7b1f7def6d8ca360 /arch
parente1fd1f490fa4213bd3060efa823a39d299538f72 (diff)
downloadlinux-99e621f796d7f0341a51e8cdf32b81663b10b448.tar.gz
linux-99e621f796d7f0341a51e8cdf32b81663b10b448.tar.bz2
linux-99e621f796d7f0341a51e8cdf32b81663b10b448.zip
syscalls.h: slightly reduce the jungles of macros
a) teach __MAP(num, m, <list of type/name pairs>) to take empty list (with num being 0, of course) b) fold types__... and args__... declaration and initialization into SYSCALL_METADATA(num, ...), making their use conditional on num != 0. That allows to use the SYSCALL_METADATA instead of its near-duplicate in SYSCALL_DEFINE0. c) make SYSCALL_METADATA expand to nothing in case if CONFIG_FTRACE_SYSCALLS is not defined; that allows to make SYSCALL_DEFINE0 and SYSCALL_DEFINEx definitions independent from CONFIG_FTRACE_SYSCALLS. d) kill SYSCALL_DEFINE - no users left (SYSCALL_DEFINE[0-6] is, of course, still alive and well). Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'arch')
0 files changed, 0 insertions, 0 deletions