From owner-cvs-all@FreeBSD.ORG Thu Sep 30 14:30:29 2004 Return-Path: Delivered-To: cvs-all@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D5BDB16A4D1; Thu, 30 Sep 2004 14:30:29 +0000 (GMT) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id B66FD43D45; Thu, 30 Sep 2004 14:30:29 +0000 (GMT) (envelope-from kensmith@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.11/8.12.11) with ESMTP id i8UEUTdn020814; Thu, 30 Sep 2004 14:30:29 GMT (envelope-from kensmith@repoman.freebsd.org) Received: (from kensmith@localhost) by repoman.freebsd.org (8.12.11/8.12.11/Submit) id i8UEUTDp020813; Thu, 30 Sep 2004 14:30:29 GMT (envelope-from kensmith) Message-Id: <200409301430.i8UEUTDp020813@repoman.freebsd.org> From: Ken Smith Date: Thu, 30 Sep 2004 14:30:29 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/sys/sparc64/sparc64 counter.c X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 30 Sep 2004 14:30:30 -0000 kensmith 2004-09-30 14:30:29 UTC FreeBSD src repository Modified files: sys/sparc64/sparc64 counter.c Log: Set the tc_quality field of the struct before calling tc_init(), since the structure space had been obtained from malloc() its contents is random garbage. The choice of value being set is part of a larger effort to solve some timecounter issues on MP machines (while working on that we noticed this problem). Noticed by: marius Reviewed by: marius, green MFC after: 3 days Revision Changes Path 1.6 +2 -0 src/sys/sparc64/sparc64/counter.c