summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@penguin.transmeta.com>2003-04-09 23:49:39 -0700
committerLinus Torvalds <torvalds@home.transmeta.com>2003-04-09 23:49:39 -0700
commitd55d7cdf3461a5f8254ed9deb5ceaf25aa20d857 (patch)
treecb661d626ab3cdc5850e17c0faf323d5185d1b20
parenta6a7f31ba40f30f0df8a72306db05c69b24ea0b7 (diff)
Add a user pointer annotation to sysinfo()
-rw-r--r--kernel/timer.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/timer.c b/kernel/timer.c
index 2ece11f78d92..b5f011ed0b6b 100644
--- a/kernel/timer.c
+++ b/kernel/timer.c
@@ -1091,7 +1091,7 @@ asmlinkage long sys_nanosleep(struct timespec *rqtp, struct timespec *rmtp)
/*
* sys_sysinfo - fill in sysinfo struct
*/
-asmlinkage long sys_sysinfo(struct sysinfo *info)
+asmlinkage long sys_sysinfo(struct sysinfo __user *info)
{
struct sysinfo val;
u64 uptime;