Skip to content

Commit

Permalink
[MIPS] Fix uniprocessor Sibyte builds.
Browse files Browse the repository at this point in the history
Signed-off-by: Andrew Sharp <tigerand@gmail.com>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
  • Loading branch information
Andrew Sharp authored and Ralf Baechle committed Feb 13, 2007
1 parent 7da8a58 commit 366d6ae
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions arch/mips/mm/c-sb1.c
Original file line number Diff line number Diff line change
Expand Up @@ -259,6 +259,12 @@ static void sb1_flush_cache_data_page(unsigned long addr)
on_each_cpu(sb1_flush_cache_data_page_ipi, (void *) addr, 1, 1);
}
#else

static void local_sb1_flush_cache_data_page(unsigned long addr)
{
__sb1_writeback_inv_dcache_range(addr, addr + PAGE_SIZE);
}

void sb1_flush_cache_data_page(unsigned long)
__attribute__((alias("local_sb1_flush_cache_data_page")));
#endif
Expand Down

0 comments on commit 366d6ae

Please sign in to comment.