Skip to content

Commit

Permalink
MIPS: Loongson 2: Set cpu_has_dc_aliases and cpu_icache_snoops_remote…
Browse files Browse the repository at this point in the history
…_store

Loongson 2 does not have dcache aliases when is using 16k pages. and the

And because Loongson 2 doesn't do SMP , cpu_icache_snoops_remote_store does
not matter here.

Signed-off-by: Zhang Le <r0bertz@gentoo.org>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
  • Loading branch information
Zhang Le authored and Ralf Baechle committed Nov 2, 2009
1 parent c2ea1d5 commit e8d4c34
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions arch/mips/include/asm/mach-loongson/cpu-feature-overrides.h
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
#define cpu_has_cache_cdex_p 0
#define cpu_has_cache_cdex_s 0
#define cpu_has_counter 1
#define cpu_has_dc_aliases 1
#define cpu_has_dc_aliases (PAGE_SIZE < 0x4000)
#define cpu_has_divec 0
#define cpu_has_dsp 0
#define cpu_has_ejtag 0
Expand All @@ -54,6 +54,5 @@
#define cpu_has_vce 0
#define cpu_has_vtag_icache 0
#define cpu_has_watch 1
#define cpu_icache_snoops_remote_store 1

#endif /* __ASM_MACH_LOONGSON_CPU_FEATURE_OVERRIDES_H */

0 comments on commit e8d4c34

Please sign in to comment.