Linux MIPS Architecture development
 help / color / mirror / Atom feed
* 64-bit kernel
@ 2002-06-18 12:33 Carsten Langgaard
  2002-06-18 16:03 ` Justin Carlson
                   ` (3 more replies)
  0 siblings, 4 replies; 10+ messages in thread
From: Carsten Langgaard @ 2002-06-18 12:33 UTC (permalink / raw)
  To: linux-mips

I don't know if anymore has a interest in the 64-bit kernel, but I just
found this bug (see patch below).
It would be nice to know, how many are interested in the 64-bit kernel
and who actually got something running.
So please rise you voice.

/Carsten

Index: include/asm-mips64/exception.h
===================================================================
RCS file:
/home/repository/sw/linux-2.4.18/include/asm-mips64/exception.h,v
retrieving revision 1.1.1.1
diff -u -r1.1.1.1 exception.h
--- include/asm-mips64/exception.h      4 Mar 2002 11:13:25 -0000
1.1.1.1
+++ include/asm-mips64/exception.h      18 Jun 2002 12:18:40 -0000
@@ -28,7 +28,7 @@

        .macro  __build_clear_fpe
        cfc1    a1, fcr31
-       li      a2, ~(0x3f << 13)
+       li      a2, ~(0x3f << 12)
        and     a2, a1
        ctc1    a2, fcr31
        STI



--
_    _ ____  ___   Carsten Langgaard   Mailto:carstenl@mips.com
|\  /|||___)(___   MIPS Denmark        Direct: +45 4486 5527
| \/ |||    ____)  Lautrupvang 4B      Switch: +45 4486 5555
  TECHNOLOGIES     2750 Ballerup       Fax...: +45 4486 5556
                   Denmark             http://www.mips.com

^ permalink raw reply	[flat|nested] 10+ messages in thread
* 64-bit kernel
@ 2002-08-06 12:05 Carsten Langgaard
  2002-08-06 23:14 ` Ralf Baechle
  0 siblings, 1 reply; 10+ messages in thread
From: Carsten Langgaard @ 2002-08-06 12:05 UTC (permalink / raw)
  To: Ralf Baechle, Maciej W. Rozycki, linux-mips

[-- Attachment #1: Type: text/plain, Size: 437 bytes --]

Here is a patch, which have a more cosmetic value rather than fixing
anything, but it makes the compiler happier.

/Carsten


--
_    _ ____  ___   Carsten Langgaard   Mailto:carstenl@mips.com
|\  /|||___)(___   MIPS Denmark        Direct: +45 4486 5527
| \/ |||    ____)  Lautrupvang 4B      Switch: +45 4486 5555
  TECHNOLOGIES     2750 Ballerup       Fax...: +45 4486 5556
                   Denmark             http://www.mips.com



[-- Attachment #2: cosmetic.patch --]
[-- Type: text/plain, Size: 1767 bytes --]

Index: include/asm-mips64/irq.h
===================================================================
RCS file: /cvs/linux/include/asm-mips64/irq.h,v
retrieving revision 1.4
diff -u -r1.4 irq.h
--- include/asm-mips64/irq.h	2001/03/02 03:04:55	1.4
+++ include/asm-mips64/irq.h	2002/08/06 11:35:06
@@ -46,6 +46,13 @@
 struct irqaction;
 extern int i8259_setup_irq(int irq, struct irqaction * new);
 extern void disable_irq(unsigned int);
+
+#ifndef CONFIG_NEW_IRQ
+#define disable_irq_nosync      disable_irq
+#else
+extern void disable_irq_nosync(unsigned int);
+#endif
+
 extern void enable_irq(unsigned int);
 
 /* Machine specific interrupt initialization  */
Index: include/asm-mips64/pgtable.h
===================================================================
RCS file: /cvs/linux/include/asm-mips64/pgtable.h,v
retrieving revision 1.47.2.16
diff -u -r1.47.2.16 pgtable.h
--- include/asm-mips64/pgtable.h	2002/08/05 23:53:39	1.47.2.16
+++ include/asm-mips64/pgtable.h	2002/08/06 11:35:07
@@ -77,10 +77,6 @@
 
 #else
 
-extern void (*_flush_icache_all)(void);
-extern void (*_flush_icache_range)(unsigned long start, unsigned long end);
-extern void (*_flush_icache_page)(struct vm_area_struct *vma, struct page *page);
-
 #define flush_cache_mm(mm)		_flush_cache_mm(mm)
 #define flush_cache_range(mm,start,end)	_flush_cache_range(mm,start,end)
 #define flush_cache_page(vma,page)	_flush_cache_page(vma, page)
@@ -89,12 +85,6 @@
 #define flush_icache_user_range(vma, page, addr, len) \
 	flush_icache_page((vma), (page))
 #define flush_icache_page(vma, page)	_flush_icache_page(vma, page)
-#ifdef CONFIG_VTAG_ICACHE
-#define flush_icache_all()		_flush_icache_all()
-#else
-#define flush_icache_all()		do { } while(0)
-#endif
-
 
 #endif /* !CONFIG_CPU_R10000 */
 

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

end of thread, other threads:[~2002-08-06 23:12 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-06-18 12:33 64-bit kernel Carsten Langgaard
2002-06-18 16:03 ` Justin Carlson
2002-06-19  9:32   ` Ralf Baechle
2002-06-19 11:07     ` Carsten Langgaard
2002-06-19 11:13       ` Ralf Baechle
2002-06-18 17:52 ` Jun Sun
2002-06-19  9:01 ` Ralf Baechle
2002-06-19  9:28 ` Ralf Baechle
  -- strict thread matches above, loose matches on Subject: below --
2002-08-06 12:05 Carsten Langgaard
2002-08-06 23:14 ` Ralf Baechle

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