diff options
author | Atsushi Nemoto <anemo@mba.ocn.ne.jp> | 2006-01-28 12:27:51 -0500 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2006-02-07 08:30:25 -0500 |
commit | d4264f183967db9c2dae4275abb98eb1f79facb2 (patch) | |
tree | 8fdbc5254428255171665c18bfedcb00222b9d43 /arch/mips/mm/c-r4k.c | |
parent | 2caf190002770b53fdb263ed744802a1b5e81649 (diff) |
[MIPS] Remove wrong __user tags.
This fixes sparse warnings 'dereference of noderef expression'.
Signed-off-by: Atsushi Nemoto <anemo@mba.ocn.ne.jp>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch/mips/mm/c-r4k.c')
-rw-r--r-- | arch/mips/mm/c-r4k.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/arch/mips/mm/c-r4k.c b/arch/mips/mm/c-r4k.c index 422b55fab07a..e51c38cef88e 100644 --- a/arch/mips/mm/c-r4k.c +++ b/arch/mips/mm/c-r4k.c | |||
@@ -464,8 +464,8 @@ static void r4k_flush_data_cache_page(unsigned long addr) | |||
464 | } | 464 | } |
465 | 465 | ||
466 | struct flush_icache_range_args { | 466 | struct flush_icache_range_args { |
467 | unsigned long __user start; | 467 | unsigned long start; |
468 | unsigned long __user end; | 468 | unsigned long end; |
469 | }; | 469 | }; |
470 | 470 | ||
471 | static inline void local_r4k_flush_icache_range(void *args) | 471 | static inline void local_r4k_flush_icache_range(void *args) |
@@ -528,8 +528,7 @@ static inline void local_r4k_flush_icache_range(void *args) | |||
528 | } | 528 | } |
529 | } | 529 | } |
530 | 530 | ||
531 | static void r4k_flush_icache_range(unsigned long __user start, | 531 | static void r4k_flush_icache_range(unsigned long start, unsigned long end) |
532 | unsigned long __user end) | ||
533 | { | 532 | { |
534 | struct flush_icache_range_args args; | 533 | struct flush_icache_range_args args; |
535 | 534 | ||