diff options
author | Andrew Sharp <tigerand@gmail.com> | 2007-02-09 17:35:28 -0800 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2007-02-13 22:40:51 +0000 |
commit | 366d6aef281a670b32a51d289fc07bf0e5e72d9a (patch) | |
tree | cfb2c960dc2a4452ecd466445b05157fd0e8478e /arch/mips/mm | |
parent | 7da8a581f5ec0ecac5f0afc9ec26ce13b780d48d (diff) | |
download | talos-obmc-linux-366d6aef281a670b32a51d289fc07bf0e5e72d9a.tar.gz talos-obmc-linux-366d6aef281a670b32a51d289fc07bf0e5e72d9a.zip |
[MIPS] Fix uniprocessor Sibyte builds.
Signed-off-by: Andrew Sharp <tigerand@gmail.com>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch/mips/mm')
-rw-r--r-- | arch/mips/mm/c-sb1.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/arch/mips/mm/c-sb1.c b/arch/mips/mm/c-sb1.c index 3a8afd47feaa..9ea460b16bda 100644 --- a/arch/mips/mm/c-sb1.c +++ b/arch/mips/mm/c-sb1.c @@ -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 |