Date: Mon, 20 Mar 2000 08:40:22 -0500 From: Patrick Gardella <patrick@whetstonelogic.com> To: "Brandon D. Valentine" <bandix@looksharp.net> Cc: Matt Heckaman <matt@ARPA.MAIL.NET>, "Brian O'Shea" <boshea@ricochet.net>, FreeBSD-STABLE <FreeBSD-STABLE@FreeBSD.ORG> Subject: Re: SMP oddity Message-ID: <38D62A46.5884B7D7@whetstonelogic.com> References: <Pine.BSF.4.21.0003181819001.64559-100000@turtle.looksharp.net>
next in thread | previous in thread | raw e-mail | index | archive | help
Does this patch work for anyone else? More importantly, does it break
anything for anyone?
Note: The below patch is for 3.4-RELEASE. If you are using something
else, you'll have to patch the file by hand, but it's not difficult :)
Patrick
"Brandon D. Valentine" wrote:
>
> Well, the diff didn't work on my 3.4-RELEASE system via patch. However,
> I found the 4 lines the diff wanted to remove and did it myself and it
> works beautifully. I imagine it is just a change in the file under
> RELENG_3 since 3.4-RELEASE came out that altered the line numbers patch
> was looking for. Anyway, here are my results followed by a diff from my
> 3.4-RELEASE system to prove that the changes are identical to the one
> yours suggested:
*** identcpu.c.orig Sat Mar 18 17:02:14 2000
--- identcpu.c Sat Mar 18 17:03:53 2000
***************
*** 504,524 ****
#endif
#if defined(I586_CPU)
case CPUCLASS_586:
- #ifndef SMP
printf("%d.%02d-MHz ",
(tsc_freq + 4999) / 1000000,
((tsc_freq + 4999) / 10000) % 100);
- #endif
printf("586");
break;
#endif
#if defined(I686_CPU)
case CPUCLASS_686:
- #ifndef SMP
printf("%d.%02d-MHz ",
(tsc_freq + 4999) / 1000000,
((tsc_freq + 4999) / 10000) % 100);
- #endif
printf("686");
break;
#endif
--- 504,520 ----
Patrick
----------
Patrick Gardella patrick@whetstonelogic.com
VP-Technology patrick@freebsd.org
Whetstone Logic, Inc. This space intentionally left blank.
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-stable" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?38D62A46.5884B7D7>
