]> git.karo-electronics.de Git - linux-beck.git/commit
get rid of duplicate logics in __SC_....[1-6] definitions
authorAl Viro <viro@zeniv.linux.org.uk>
Mon, 21 Jan 2013 20:03:44 +0000 (15:03 -0500)
committerAl Viro <viro@zeniv.linux.org.uk>
Mon, 4 Mar 2013 03:46:21 +0000 (22:46 -0500)
commit07fe6e00f6cca6fef85a14a1dc3ed4f2e35d3f0b
treea3e4f9e97b298fd778f9bbab188322407d822473
parent6dbe51c251a327e012439c4772097a13df43c5b8
get rid of duplicate logics in __SC_....[1-6] definitions

All those guys have the same form - "take a list of type/name pairs,
apply some macro to each of them".  Abstract that part away, convert
all __SC_FOO##x(__VA_ARGS__) to __MAP(x,__SC_FOO,__VA_ARGS__).

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
include/linux/compat.h
include/linux/syscalls.h