All of lore.kernel.org
 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

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

On Tue, Apr 13, 2010 at 01:16:34PM +0800, Wu Zhangjin wrote:

> 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>

Thanks Wu, queued for 2.6.35!

  Ralf

^ permalink raw reply	[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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.