Skip to content

Commit

Permalink
ARC: [mm] Aliasing VIPT dcache support 3/4
Browse files Browse the repository at this point in the history
Fix the one zillion warnings

Signed-off-by: Vineet Gupta <[email protected]>
  • Loading branch information
vineetgarc committed May 9, 2013
1 parent 4102b53 commit de2a852
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 1 deletion arch/arc/include/asm/cacheflush.h
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,9 @@ void flush_cache_all(void);
void flush_icache_range(unsigned long start, unsigned long end);
void __sync_icache_dcache(unsigned long paddr, unsigned long vaddr, int len);
void __inv_icache_page(unsigned long paddr, unsigned long vaddr);
void __flush_dcache_page(unsigned long paddr, unsigned long vaddr);
void ___flush_dcache_page(unsigned long paddr, unsigned long vaddr);
#define __flush_dcache_page(p, v) \
___flush_dcache_page((unsigned long)p, (unsigned long)v)

#define ARCH_IMPLEMENTS_FLUSH_DCACHE_PAGE 1

Expand Down
2 changes: 1 addition & 1 deletion arch/arc/mm/cache_arc700.c
Original file line number Diff line number Diff line change
Expand Up @@ -624,7 +624,7 @@ void __inv_icache_page(unsigned long paddr, unsigned long vaddr)
* wrapper to clearout kernel or userspace mappings of a page
* For kernel mappings @vaddr == @paddr
*/
void __flush_dcache_page(unsigned long paddr, unsigned long vaddr)
void ___flush_dcache_page(unsigned long paddr, unsigned long vaddr)
{
__dc_line_op(paddr, vaddr & PAGE_MASK, PAGE_SIZE, OP_FLUSH_N_INV);
}
Expand Down

0 comments on commit de2a852

Please sign in to comment.