From 3ac9862e12899f885d1247237725b798e0aa5828 Mon Sep 17 00:00:00 2001 From: Al Viro Date: Tue, 26 Apr 2005 07:43:42 -0700 Subject: [PATCH] --- yaml --- r: 477 b: refs/heads/master c: 9be80c0f0f61e8c0572d7c9d73b3ef839754a953 h: refs/heads/master i: 475: 957b48485c2fe49dfaed46e977f622196335c311 v: v3 --- [refs] | 2 +- trunk/drivers/oprofile/oprofile_files.c | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/[refs] b/[refs] index 8e4fa71cb048..f8d21a485cec 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 993fb38b1c0cd1a56d15aa99b337c780a538baa8 +refs/heads/master: 9be80c0f0f61e8c0572d7c9d73b3ef839754a953 diff --git a/trunk/drivers/oprofile/oprofile_files.c b/trunk/drivers/oprofile/oprofile_files.c index 9abedeaa567c..a72006c08f2b 100644 --- a/trunk/drivers/oprofile/oprofile_files.c +++ b/trunk/drivers/oprofile/oprofile_files.c @@ -18,13 +18,13 @@ unsigned long fs_buffer_size = 131072; unsigned long fs_cpu_buffer_size = 8192; unsigned long fs_buffer_watershed = 32768; /* FIXME: tune */ -static ssize_t depth_read(struct file * file, char * buf, size_t count, loff_t * offset) +static ssize_t depth_read(struct file * file, char __user * buf, size_t count, loff_t * offset) { return oprofilefs_ulong_to_user(backtrace_depth, buf, count, offset); } -static ssize_t depth_write(struct file * file, char const * buf, size_t count, loff_t * offset) +static ssize_t depth_write(struct file * file, char const __user * buf, size_t count, loff_t * offset) { unsigned long val; int retval;