patch-2_6_7-vs1_9_1_12
[linux-2.6.git] / arch / s390 / kernel / profile.c
index a6fad9c..f219748 100644 (file)
@@ -19,7 +19,8 @@ static int prof_cpu_mask_read_proc (char *page, char **start, off_t off,
        return len;
 }
 
-static int prof_cpu_mask_write_proc (struct file *file, const char *buffer,
+static int prof_cpu_mask_write_proc (struct file *file,
+                                       const char __user *buffer,
                                        unsigned long count, void *data)
 {
        cpumask_t *mask = (cpumask_t *)data;