diff options
author | Akira Takeuchi <takeuchi.akr@jp.panasonic.com> | 2010-10-27 12:28:44 -0400 |
---|---|---|
committer | David Howells <dhowells@redhat.com> | 2010-10-27 12:28:44 -0400 |
commit | 9b287bf9924cedaf1accd7293db3627bef7c46e3 (patch) | |
tree | 116b52c64156aea7aa2236fd3e030e4885f7c2d8 /arch/mn10300 | |
parent | 518d4bb7464dd3c04aeb23874dc360b54058c01e (diff) |
MN10300: Cacheflush functions should take unsigned long addresses
The functions that perform cache flushing should take addresses of unsigned
long type, not unsigned int.
Signed-off-by: Akira Takeuchi <takeuchi.akr@jp.panasonic.com>
Signed-off-by: Kiyoshi Owada <owada.kiyoshi@jp.panasonic.com>
Signed-off-by: David Howells <dhowells@redhat.com>
Diffstat (limited to 'arch/mn10300')
-rw-r--r-- | arch/mn10300/include/asm/cacheflush.h | 18 | ||||
-rw-r--r-- | arch/mn10300/mm/cache-flush-by-tag.S | 12 |
2 files changed, 15 insertions, 15 deletions
diff --git a/arch/mn10300/include/asm/cacheflush.h b/arch/mn10300/include/asm/cacheflush.h index 0b5d00438374..a9f41688961a 100644 --- a/arch/mn10300/include/asm/cacheflush.h +++ b/arch/mn10300/include/asm/cacheflush.h | |||
@@ -22,18 +22,18 @@ | |||
22 | #ifdef CONFIG_MN10300_CACHE_ENABLED | 22 | #ifdef CONFIG_MN10300_CACHE_ENABLED |
23 | extern void mn10300_icache_inv(void); | 23 | extern void mn10300_icache_inv(void); |
24 | extern void mn10300_dcache_inv(void); | 24 | extern void mn10300_dcache_inv(void); |
25 | extern void mn10300_dcache_inv_page(unsigned start); | 25 | extern void mn10300_dcache_inv_page(unsigned long start); |
26 | extern void mn10300_dcache_inv_range(unsigned start, unsigned end); | 26 | extern void mn10300_dcache_inv_range(unsigned long start, unsigned long end); |
27 | extern void mn10300_dcache_inv_range2(unsigned start, unsigned size); | 27 | extern void mn10300_dcache_inv_range2(unsigned long start, unsigned long size); |
28 | #ifdef CONFIG_MN10300_CACHE_WBACK | 28 | #ifdef CONFIG_MN10300_CACHE_WBACK |
29 | extern void mn10300_dcache_flush(void); | 29 | extern void mn10300_dcache_flush(void); |
30 | extern void mn10300_dcache_flush_page(unsigned start); | 30 | extern void mn10300_dcache_flush_page(unsigned long start); |
31 | extern void mn10300_dcache_flush_range(unsigned start, unsigned end); | 31 | extern void mn10300_dcache_flush_range(unsigned long start, unsigned long end); |
32 | extern void mn10300_dcache_flush_range2(unsigned start, unsigned size); | 32 | extern void mn10300_dcache_flush_range2(unsigned long start, unsigned long size); |
33 | extern void mn10300_dcache_flush_inv(void); | 33 | extern void mn10300_dcache_flush_inv(void); |
34 | extern void mn10300_dcache_flush_inv_page(unsigned start); | 34 | extern void mn10300_dcache_flush_inv_page(unsigned long start); |
35 | extern void mn10300_dcache_flush_inv_range(unsigned start, unsigned end); | 35 | extern void mn10300_dcache_flush_inv_range(unsigned long start, unsigned long end); |
36 | extern void mn10300_dcache_flush_inv_range2(unsigned start, unsigned size); | 36 | extern void mn10300_dcache_flush_inv_range2(unsigned long start, unsigned long size); |
37 | #else | 37 | #else |
38 | #define mn10300_dcache_flush() do {} while (0) | 38 | #define mn10300_dcache_flush() do {} while (0) |
39 | #define mn10300_dcache_flush_page(start) do {} while (0) | 39 | #define mn10300_dcache_flush_page(start) do {} while (0) |
diff --git a/arch/mn10300/mm/cache-flush-by-tag.S b/arch/mn10300/mm/cache-flush-by-tag.S index c8ed1cbac107..8fe90e49b96c 100644 --- a/arch/mn10300/mm/cache-flush-by-tag.S +++ b/arch/mn10300/mm/cache-flush-by-tag.S | |||
@@ -62,9 +62,9 @@ mn10300_dcache_flush_end: | |||
62 | 62 | ||
63 | ############################################################################### | 63 | ############################################################################### |
64 | # | 64 | # |
65 | # void mn10300_dcache_flush_page(unsigned start) | 65 | # void mn10300_dcache_flush_page(unsigned long start) |
66 | # void mn10300_dcache_flush_range(unsigned start, unsigned end) | 66 | # void mn10300_dcache_flush_range(unsigned long start, unsigned long end) |
67 | # void mn10300_dcache_flush_range2(unsigned start, unsigned size) | 67 | # void mn10300_dcache_flush_range2(unsigned long start, unsigned long size) |
68 | # Flush a range of addresses on a page in the dcache | 68 | # Flush a range of addresses on a page in the dcache |
69 | # | 69 | # |
70 | ############################################################################### | 70 | ############################################################################### |
@@ -142,9 +142,9 @@ mn10300_dcache_flush_inv_end: | |||
142 | 142 | ||
143 | ############################################################################### | 143 | ############################################################################### |
144 | # | 144 | # |
145 | # void mn10300_dcache_flush_inv_page(unsigned start) | 145 | # void mn10300_dcache_flush_inv_page(unsigned long start) |
146 | # void mn10300_dcache_flush_inv_range(unsigned start, unsigned end) | 146 | # void mn10300_dcache_flush_inv_range(unsigned long start, unsigned long end) |
147 | # void mn10300_dcache_flush_inv_range2(unsigned start, unsigned size) | 147 | # void mn10300_dcache_flush_inv_range2(unsigned long start, unsigned long size) |
148 | # Flush and invalidate a range of addresses on a page in the dcache | 148 | # Flush and invalidate a range of addresses on a page in the dcache |
149 | # | 149 | # |
150 | ############################################################################### | 150 | ############################################################################### |