Re: UML 2.5.34

From: Nikita Danilov (Nikita@Namesys.COM)
Date: Fri Sep 13 2002 - 05:34:55 EST


Jeff Dike writes:
> UML has been updated to 2.5.34 and UML 2.4.19-3.
>
> There have been only a few minor changes since UML 2.5.33. This is mostly an
> update to 2.5.34.
>
> The patch is available at
> http://uml-pub.ists.dartmouth.edu/uml/uml-patch-2.5.34-1.bz2
>
> For the other UML mirrors and other downloads, see
> http://user-mode-linux.sourceforge.net/dl-sf.html
>
> Other links of interest:
>
> The UML project home page : http://user-mode-linux.sourceforge.net
> The UML Community site : http://usermodelinux.org

And this is a patch to make it compilable (not sure about
CLOCK_TICK_RATE and pte_addr_t parts though):

It even boots, great!
----------------------------------------------------------------------
===== include/asm-um/percpu.h 1.1 vs edited =====
--- 1.1/include/asm-um/percpu.h Fri Sep 6 21:29:29 2002
+++ edited/include/asm-um/percpu.h Fri Sep 13 14:27:59 2002
@@ -1,5 +1,5 @@
-#ifndef __UM_CACHEFLUSH_H
-#define __UM_CACHEFLUSH_H
+#ifndef __UM_PERCPU_H
+#define __UM_PERCPU_H
 
 #include "asm/arch/percpu.h"
 
===== include/asm-um/pgtable.h 1.1 vs edited =====
--- 1.1/include/asm-um/pgtable.h Fri Sep 6 21:29:29 2002
+++ edited/include/asm-um/pgtable.h Fri Sep 13 14:04:54 2002
@@ -372,6 +372,10 @@
 
 #define kern_addr_valid(addr) (1)
 
+#if !defined(CONFIG_HIGHPTE)
+typedef pte_t *pte_addr_t;
+#endif
+
 #include <asm-generic/pgtable.h>
 
 #endif
===== include/asm-um/timex.h 1.1 vs edited =====
--- 1.1/include/asm-um/timex.h Fri Sep 6 21:29:29 2002
+++ edited/include/asm-um/timex.h Fri Sep 13 14:09:28 2002
@@ -7,6 +7,8 @@
 
 #define cacheflush_time (0)
 
+#define CLOCK_TICK_RATE 1193180 /* Underlying HZ */
+
 static inline cycles_t get_cycles (void)
 {
         return 0;
----------------------------------------------------------------------
>
> Jeff
>

Nikita.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Sun Sep 15 2002 - 22:00:33 EST