Commit 1043f65a authored by Stephen Rothwell's avatar Stephen Rothwell Committed by Linus Torvalds

kernel/timer.c: convert compat_sys_sysinfo to COMPAT_SYSCALL_DEFINE

Signed-off-by: default avatarStephen Rothwell <sfr@canb.auug.org.au>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: Guenter Roeck <linux@roeck-us.net>
Cc: Al Viro <viro@zeniv.linux.org.uk>
Cc: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent 1a0df594
...@@ -1661,8 +1661,7 @@ struct compat_sysinfo { ...@@ -1661,8 +1661,7 @@ struct compat_sysinfo {
char _f[20-2*sizeof(u32)-sizeof(int)]; char _f[20-2*sizeof(u32)-sizeof(int)];
}; };
asmlinkage long COMPAT_SYSCALL_DEFINE1(sysinfo, struct compat_sysinfo __user *, info)
compat_sys_sysinfo(struct compat_sysinfo __user *info)
{ {
struct sysinfo s; struct sysinfo s;
......
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