Skip to contentSkip to conversation

uml: fix jiffies initialization [before 2.6.11]

PATCH New [email protected] 1 participant 1 message Feb 4, 2005 User-mode Linux (UML)

lore
Share & tools
lore
#0 lore raw

PATCH 5/8 uml: fix jiffies initialization [before 2.6.11]

From: Jeff Dike <[email protected]>, Paolo 'Blaisorblade' Giarrusso <[email protected]>

Initialize jiffies_64 to INITIAL_JIFFIES.

---

 linux-2.6.11-paolo/arch/um/kernel/time_kern.c |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)
arch/um/kernel/time_kern.c renamed from arch/um/kernel/time_kern.c~uml-jiffies +1 -1
diff -puN arch/um/kernel/time_kern.c~uml-jiffies arch/um/kernel/time_kern.c
@@ -22,7 +22,7 @@
 #include "mode.h"
 #include "os.h"
 
-u64 jiffies_64;
+u64 jiffies_64 = INITIAL_JIFFIES;
 
 EXPORT_SYMBOL(jiffies_64);
 

_

-------------------------------------------------------
This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag-&-drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl
_______________________________________________
User-mode-linux-devel mailing list [email protected]
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel