diff options
Diffstat (limited to 'arch/mips/loongson')
-rw-r--r-- | arch/mips/loongson/common/mem.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/mips/loongson/common/mem.c b/arch/mips/loongson/common/mem.c index 7c92f79b648..e94ef158f98 100644 --- a/arch/mips/loongson/common/mem.c +++ b/arch/mips/loongson/common/mem.c | |||
@@ -26,7 +26,7 @@ void __init prom_init_memory(void) | |||
26 | /* override of arch/mips/mm/cache.c: __uncached_access */ | 26 | /* override of arch/mips/mm/cache.c: __uncached_access */ |
27 | int __uncached_access(struct file *file, unsigned long addr) | 27 | int __uncached_access(struct file *file, unsigned long addr) |
28 | { | 28 | { |
29 | if (file->f_flags & O_SYNC) | 29 | if (file->f_flags & O_DSYNC) |
30 | return 1; | 30 | return 1; |
31 | 31 | ||
32 | return addr >= __pa(high_memory) || | 32 | return addr >= __pa(high_memory) || |