From owner-freebsd-stable Mon Mar 20 5:40:26 2000 Delivered-To: freebsd-stable@freebsd.org Received: from green.wl.vg (green.wl.vg [204.203.49.94]) by hub.freebsd.org (Postfix) with ESMTP id 6E72937B63A for ; Mon, 20 Mar 2000 05:40:11 -0800 (PST) (envelope-from patrick@whetstonelogic.com) Received: from whetstonelogic.com (patrick [205.252.46.171]) by green.wl.vg (8.9.3/8.9.3) with ESMTP id FAA16980; Mon, 20 Mar 2000 05:39:52 -0800 (PST) (envelope-from patrick@whetstonelogic.com) Message-ID: <38D62A46.5884B7D7@whetstonelogic.com> Date: Mon, 20 Mar 2000 08:40:22 -0500 From: Patrick Gardella Organization: Whetstone Logic, Inc. X-Mailer: Mozilla 4.7 [en] (X11; U; FreeBSD 4.0-CURRENT i386) X-Accept-Language: en MIME-Version: 1.0 To: "Brandon D. Valentine" Cc: Matt Heckaman , "Brian O'Shea" , FreeBSD-STABLE Subject: Re: SMP oddity References: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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