Linux MIPS Architecture development
 help / color / mirror / Atom feed
* [PATCH] Loongson: update cpu-feature-overrides.h
@ 2010-04-13  5:16 Wu Zhangjin
  2010-04-13 22:02 ` Ralf Baechle
  0 siblings, 1 reply; 2+ messages in thread
From: Wu Zhangjin @ 2010-04-13  5:16 UTC (permalink / raw)
  To: Ralf Baechle; +Cc: Linux-MIPS, Wu Zhangjin

From: Wu Zhangjin <wuzhangjin@gmail.com>

Loongson doesn't support MIPSR2, therefore, MIPSR2 vectored interrupts
(cpu_has_vint) and MIPSR2 external interrupt controller mode
(cpu_has_veic) are 0.

Signed-off-by: Wu Zhangjin <wuzhangjin@gmail.com>
---
 .../asm/mach-loongson/cpu-feature-overrides.h      |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/arch/mips/include/asm/mach-loongson/cpu-feature-overrides.h b/arch/mips/include/asm/mach-loongson/cpu-feature-overrides.h
index 16210ce..675bd86 100644
--- a/arch/mips/include/asm/mach-loongson/cpu-feature-overrides.h
+++ b/arch/mips/include/asm/mach-loongson/cpu-feature-overrides.h
@@ -52,6 +52,8 @@
 #define cpu_has_tx39_cache	0
 #define cpu_has_userlocal	0
 #define cpu_has_vce		0
+#define cpu_has_veic		0
+#define cpu_has_vint		0
 #define cpu_has_vtag_icache	0
 #define cpu_has_watch		1
 
-- 
1.7.0

^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2010-04-13 22:02 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-04-13  5:16 [PATCH] Loongson: update cpu-feature-overrides.h Wu Zhangjin
2010-04-13 22:02 ` Ralf Baechle

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox