Commit 9b287bf9 authored by Akira Takeuchi's avatar Akira Takeuchi Committed by David Howells

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: default avatarAkira Takeuchi <takeuchi.akr@jp.panasonic.com>
Signed-off-by: default avatarKiyoshi Owada <owada.kiyoshi@jp.panasonic.com>
Signed-off-by: default avatarDavid Howells <dhowells@redhat.com>
parent 518d4bb7
...@@ -22,18 +22,18 @@ ...@@ -22,18 +22,18 @@
#ifdef CONFIG_MN10300_CACHE_ENABLED #ifdef CONFIG_MN10300_CACHE_ENABLED
extern void mn10300_icache_inv(void); extern void mn10300_icache_inv(void);
extern void mn10300_dcache_inv(void); extern void mn10300_dcache_inv(void);
extern void mn10300_dcache_inv_page(unsigned start); extern void mn10300_dcache_inv_page(unsigned long start);
extern void mn10300_dcache_inv_range(unsigned start, unsigned end); extern void mn10300_dcache_inv_range(unsigned long start, unsigned long end);
extern void mn10300_dcache_inv_range2(unsigned start, unsigned size); extern void mn10300_dcache_inv_range2(unsigned long start, unsigned long size);
#ifdef CONFIG_MN10300_CACHE_WBACK #ifdef CONFIG_MN10300_CACHE_WBACK
extern void mn10300_dcache_flush(void); extern void mn10300_dcache_flush(void);
extern void mn10300_dcache_flush_page(unsigned start); extern void mn10300_dcache_flush_page(unsigned long start);
extern void mn10300_dcache_flush_range(unsigned start, unsigned end); extern void mn10300_dcache_flush_range(unsigned long start, unsigned long end);
extern void mn10300_dcache_flush_range2(unsigned start, unsigned size); extern void mn10300_dcache_flush_range2(unsigned long start, unsigned long size);
extern void mn10300_dcache_flush_inv(void); extern void mn10300_dcache_flush_inv(void);
extern void mn10300_dcache_flush_inv_page(unsigned start); extern void mn10300_dcache_flush_inv_page(unsigned long start);
extern void mn10300_dcache_flush_inv_range(unsigned start, unsigned end); extern void mn10300_dcache_flush_inv_range(unsigned long start, unsigned long end);
extern void mn10300_dcache_flush_inv_range2(unsigned start, unsigned size); extern void mn10300_dcache_flush_inv_range2(unsigned long start, unsigned long size);
#else #else
#define mn10300_dcache_flush() do {} while (0) #define mn10300_dcache_flush() do {} while (0)
#define mn10300_dcache_flush_page(start) do {} while (0) #define mn10300_dcache_flush_page(start) do {} while (0)
......
...@@ -62,9 +62,9 @@ mn10300_dcache_flush_end: ...@@ -62,9 +62,9 @@ mn10300_dcache_flush_end:
############################################################################### ###############################################################################
# #
# void mn10300_dcache_flush_page(unsigned start) # void mn10300_dcache_flush_page(unsigned long start)
# void mn10300_dcache_flush_range(unsigned start, unsigned end) # void mn10300_dcache_flush_range(unsigned long start, unsigned long end)
# void mn10300_dcache_flush_range2(unsigned start, unsigned size) # void mn10300_dcache_flush_range2(unsigned long start, unsigned long size)
# Flush a range of addresses on a page in the dcache # Flush a range of addresses on a page in the dcache
# #
############################################################################### ###############################################################################
...@@ -142,9 +142,9 @@ mn10300_dcache_flush_inv_end: ...@@ -142,9 +142,9 @@ mn10300_dcache_flush_inv_end:
############################################################################### ###############################################################################
# #
# void mn10300_dcache_flush_inv_page(unsigned start) # void mn10300_dcache_flush_inv_page(unsigned long start)
# void mn10300_dcache_flush_inv_range(unsigned start, unsigned end) # void mn10300_dcache_flush_inv_range(unsigned long start, unsigned long end)
# void mn10300_dcache_flush_inv_range2(unsigned start, unsigned size) # void mn10300_dcache_flush_inv_range2(unsigned long start, unsigned long size)
# Flush and invalidate a range of addresses on a page in the dcache # Flush and invalidate a range of addresses on a page in the dcache
# #
############################################################################### ###############################################################################
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment