git://git.onelab.eu
/
linux-2.6.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
VServer 1.9.2 (patch-2.6.8.1-vs1.9.2.diff)
[linux-2.6.git]
/
arch
/
arm
/
kernel
/
apm.c
diff --git
a/arch/arm/kernel/apm.c
b/arch/arm/kernel/apm.c
index
7849b28
..
a64f78d
100644
(file)
--- a/
arch/arm/kernel/apm.c
+++ b/
arch/arm/kernel/apm.c
@@
-206,7
+206,7
@@
static int apm_suspend(void)
return err;
}
-static ssize_t apm_read(struct file *fp, char *buf, size_t count, loff_t *ppos)
+static ssize_t apm_read(struct file *fp, char
__user
*buf, size_t count, loff_t *ppos)
{
struct apm_user *as = fp->private_data;
apm_event_t event;