projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1a0df59
)
kernel/timer.c: convert compat_sys_sysinfo to COMPAT_SYSCALL_DEFINE
author
Stephen Rothwell
<
[email protected]
>
Tue, 30 Apr 2013 22:27:35 +0000
(15:27 -0700)
committer
Linus Torvalds
<
[email protected]
>
Wed, 1 May 2013 00:04:03 +0000
(17:04 -0700)
Signed-off-by: Stephen Rothwell <
[email protected]
>
Cc: Thomas Gleixner <
[email protected]
>
Cc: Guenter Roeck <
[email protected]
>
Cc: Al Viro <
[email protected]
>
Cc: Arnd Bergmann <
[email protected]
>
Signed-off-by: Andrew Morton <
[email protected]
>
Signed-off-by: Linus Torvalds <
[email protected]
>
kernel/timer.c
patch
|
blob
|
history
diff --git
a/kernel/timer.c
b/kernel/timer.c
index 06b3245624e246de7d629db5d462fabc04588fcb..f0e65885b822f4b22e18da679636d673ab6c8f36 100644
(file)
--- a/
kernel/timer.c
+++ b/
kernel/timer.c
@@
-1661,8
+1661,7
@@
struct compat_sysinfo {
char _f[20-2*sizeof(u32)-sizeof(int)];
};
-asmlinkage long
-compat_sys_sysinfo(struct compat_sysinfo __user *info)
+COMPAT_SYSCALL_DEFINE1(sysinfo, struct compat_sysinfo __user *, info)
{
struct sysinfo s;