diff options
Diffstat (limited to 'arch/frv/kernel/irq.c')
-rw-r--r-- | arch/frv/kernel/irq.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/arch/frv/kernel/irq.c b/arch/frv/kernel/irq.c index 11fa326a8f62..8b112b361914 100644 --- a/arch/frv/kernel/irq.c +++ b/arch/frv/kernel/irq.c | |||
@@ -625,7 +625,7 @@ static struct proc_dir_entry * irq_dir [NR_IRQS]; | |||
625 | 625 | ||
626 | #define HEX_DIGITS 8 | 626 | #define HEX_DIGITS 8 |
627 | 627 | ||
628 | static unsigned int parse_hex_value (const char *buffer, | 628 | static unsigned int parse_hex_value (const char __user *buffer, |
629 | unsigned long count, unsigned long *ret) | 629 | unsigned long count, unsigned long *ret) |
630 | { | 630 | { |
631 | unsigned char hexnum [HEX_DIGITS]; | 631 | unsigned char hexnum [HEX_DIGITS]; |
@@ -672,7 +672,7 @@ static int prof_cpu_mask_read_proc (char *page, char **start, off_t off, | |||
672 | return sprintf (page, "%08lx\n", *mask); | 672 | return sprintf (page, "%08lx\n", *mask); |
673 | } | 673 | } |
674 | 674 | ||
675 | static int prof_cpu_mask_write_proc (struct file *file, const char *buffer, | 675 | static int prof_cpu_mask_write_proc (struct file *file, const char __user *buffer, |
676 | unsigned long count, void *data) | 676 | unsigned long count, void *data) |
677 | { | 677 | { |
678 | unsigned long *mask = (unsigned long *) data, full_count = count, err; | 678 | unsigned long *mask = (unsigned long *) data, full_count = count, err; |
@@ -711,7 +711,7 @@ void init_irq_proc (void) | |||
711 | int i; | 711 | int i; |
712 | 712 | ||
713 | /* create /proc/irq */ | 713 | /* create /proc/irq */ |
714 | root_irq_dir = proc_mkdir("irq", 0); | 714 | root_irq_dir = proc_mkdir("irq", NULL); |
715 | 715 | ||
716 | /* create /proc/irq/prof_cpu_mask */ | 716 | /* create /proc/irq/prof_cpu_mask */ |
717 | entry = create_proc_entry("prof_cpu_mask", 0600, root_irq_dir); | 717 | entry = create_proc_entry("prof_cpu_mask", 0600, root_irq_dir); |