linux-um archives
 help / color / mirror / Atom feed
From: "Christopher S. Aker" <caker@theshore.net>
To: roland <for_spam@gmx.de>
Cc: uml-user <user-mode-linux-user@lists.sourceforge.net>,
	user-mode-linux-devel@lists.sourceforge.net,
	BlaisorBlade <blaisorblade_spam@yahoo.it>
Subject: [uml-devel] Re: [uml-user] Hang at ipv4 setup is a cpufreq issue!
Date: Wed, 3 Mar 2004 22:45:25 -0600	[thread overview]
Message-ID: <006501c401a3$8442e4d0$0201a8c0@hawk> (raw)
In-Reply-To: 0d2e01c40174$dfda5b40$2000000a@schlepptopp

Here is my original post with patch.

http://marc.theaimsgroup.com/?l=user-mode-linux-devel&m=107173525906273&w=2

Some of it is already in the 2.6um tree. Just the very first patch in the patch to
time.c is necessary.  The lines are offset from 2.6 in this 2.4 patch, but it
should apply to 2.6um easy enough...

Relevant section:

diff -Naur orig/arch/um/kernel/time.c mine/arch/um/kernel/time.c
--- orig/arch/um/kernel/time.c  2003-12-18 02:30:20.000000000 -0500
+++ mine/arch/um/kernel/time.c  2003-12-18 02:32:38.000000000 -0500
@@ -79,10 +79,11 @@
        set_interval(ITIMER_REAL);
 }

-static long get_host_hz(void)
+static unsigned long long get_host_hz(void)
 {
        char mhzline[16], *end;
-       int ret, mult, mhz, rest, len;
+       int ret, mult, rest, len;
+       unsigned long long mhz;

        ret = cpu_feature("cpu MHz", mhzline,
                          sizeof(mhzline) / sizeof(mhzline[0]));


-Chris



-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_______________________________________________
User-mode-linux-devel mailing list
User-mode-linux-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel

  parent reply	other threads:[~2004-03-04  4:45 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <40430B47.3000004@sms.ed.ac.uk>
     [not found] ` <200403022005.42635.blaisorblade_spam@yahoo.it>
2004-03-03 23:11   ` [uml-devel] Hang at ipv4 setup is a cpufreq issue! roland
2004-03-04  3:05     ` [uml-devel] " Jeff Dike
2004-03-04  4:45     ` Christopher S. Aker [this message]
2004-03-08 21:34     ` Jeff Dike

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='006501c401a3$8442e4d0$0201a8c0@hawk' \
    --to=caker@theshore.net \
    --cc=blaisorblade_spam@yahoo.it \
    --cc=for_spam@gmx.de \
    --cc=user-mode-linux-devel@lists.sourceforge.net \
    --cc=user-mode-linux-user@lists.sourceforge.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox