patch-2_6_7-vs1_9_1_12
[linux-2.6.git] / arch / alpha / kernel / irq.c
index c51bf8d..9e8eab6 100644 (file)
@@ -260,7 +260,7 @@ irq_affinity_read_proc (char *page, char **start, off_t off,
 }
 
 static unsigned int
-parse_hex_value (const char *buffer,
+parse_hex_value (const char __user *buffer,
                 unsigned long count, unsigned long *ret)
 {
        unsigned char hexnum [HEX_DIGITS];
@@ -298,7 +298,7 @@ out:
 }
 
 static int
-irq_affinity_write_proc(struct file *file, const char *buffer,
+irq_affinity_write_proc(struct file *file, const char __user *buffer,
                        unsigned long count, void *data)
 {
        int irq = (long) data, full_count = count, err;
@@ -341,7 +341,7 @@ prof_cpu_mask_read_proc(char *page, char **start, off_t off,
 }
 
 static int
-prof_cpu_mask_write_proc(struct file *file, const char *buffer,
+prof_cpu_mask_write_proc(struct file *file, const char __user *buffer,
                         unsigned long count, void *data)
 {
        unsigned long *mask = (unsigned long *) data, full_count = count, err;