From owner-cvs-all@FreeBSD.ORG Sun May 20 14:49:03 2007 Return-Path: X-Original-To: cvs-all@FreeBSD.org Delivered-To: cvs-all@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 22E3416A41F; Sun, 20 May 2007 14:49:03 +0000 (UTC) (envelope-from marius@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [69.147.83.41]) by mx1.freebsd.org (Postfix) with ESMTP id C323C13C45B; Sun, 20 May 2007 14:49:01 +0000 (UTC) (envelope-from marius@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.8/8.13.8) with ESMTP id l4KEn1sR013750; Sun, 20 May 2007 14:49:01 GMT (envelope-from marius@repoman.freebsd.org) Received: (from marius@localhost) by repoman.freebsd.org (8.13.8/8.13.8/Submit) id l4KEn1XJ013749; Sun, 20 May 2007 14:49:01 GMT (envelope-from marius) Message-Id: <200705201449.l4KEn1XJ013749@repoman.freebsd.org> From: Marius Strobl Date: Sun, 20 May 2007 14:49:01 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: src/sys/sparc64/include smp.h src/sys/sparc64/sparc64 mp_machdep.c X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.5 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: Sun, 20 May 2007 14:49:03 -0000 marius 2007-05-20 14:49:01 UTC FreeBSD src repository Modified files: sys/sparc64/include smp.h sys/sparc64/sparc64 mp_machdep.c Log: - Staticize cpu_ipi_send() and cpu_mp_unleash() as these aren't referenced outside of mp_machdep.c - Replace a magic 14 with the newly added IDC_ITID_SHIFT macro. - Remove the global mp_boot_mid variable as it's not really necessary and just replacing it with PCPU_GET(mid) doesn't have any impact on performance once booted. - Replace PCPU_GET(cpuid) with the curcpu shortcut. - Replace hardcoded function names in panic strings etc with __func__ so they don't need to be updated when renaming the function. - Use register_t instead of u_long for variables used to hold the return value of intr_disable() so we don't need to apply any knowledge about the actual width of that value here. - Improve the wording of some comments. - Fix several style(9) bugs. Revision Changes Path 1.21 +8 -1 src/sys/sparc64/include/smp.h 1.34 +50 -41 src/sys/sparc64/sparc64/mp_machdep.c