From owner-cvs-src@FreeBSD.ORG Mon Jun 4 21:38:49 2007 Return-Path: X-Original-To: cvs-src@FreeBSD.org Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 16D7B16A41F; Mon, 4 Jun 2007 21:38:49 +0000 (UTC) (envelope-from attilio@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [69.147.83.41]) by mx1.freebsd.org (Postfix) with ESMTP id 05C6313C44B; Mon, 4 Jun 2007 21:38:49 +0000 (UTC) (envelope-from attilio@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 l54LcmoV048452; Mon, 4 Jun 2007 21:38:48 GMT (envelope-from attilio@repoman.freebsd.org) Received: (from attilio@localhost) by repoman.freebsd.org (8.13.8/8.13.8/Submit) id l54LcmBr048448; Mon, 4 Jun 2007 21:38:48 GMT (envelope-from attilio) Message-Id: <200706042138.l54LcmBr048448@repoman.freebsd.org> From: Attilio Rao Date: Mon, 4 Jun 2007 21:38:48 +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/amd64/amd64 intr_machdep.c trap.c src/sys/amd64/ia32 ia32_syscall.c src/sys/amd64/include pcpu.h src/sys/arm/arm intr.c trap.c undefined.c src/sys/arm/include pcpu.h src/sys/i386/i386 intr_machdep.c trap.c ... X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 04 Jun 2007 21:38:49 -0000 attilio 2007-06-04 21:38:48 UTC FreeBSD src repository Modified files: sys/amd64/amd64 intr_machdep.c trap.c sys/amd64/ia32 ia32_syscall.c sys/amd64/include pcpu.h sys/arm/arm intr.c trap.c undefined.c sys/arm/include pcpu.h sys/i386/i386 intr_machdep.c trap.c sys/i386/include pcpu.h sys/ia64/ia32 ia32_trap.c sys/ia64/ia64 interrupt.c trap.c sys/ia64/include pcpu.h sys/kern kern_intr.c sys/powerpc/include pcpu.h sys/powerpc/powerpc trap.c sys/sparc64/include pcpu.h sys/sparc64/sparc64 trap.c sys/sun4v/include pcpu.h sys/sun4v/sun4v trap.c sys/vm vm_fault.c Log: Rework the PCPU_* (MD) interface: - Rename PCPU_LAZY_INC into PCPU_INC - Add the PCPU_ADD interface which just does an add on the pcpu member given a specific value. Note that for most architectures PCPU_INC and PCPU_ADD are not safe. This is a point that needs some discussions/work in the next days. Reviewed by: alc, bde Approved by: jeff (mentor) Revision Changes Path 1.34 +2 -2 src/sys/amd64/amd64/intr_machdep.c 1.317 +3 -3 src/sys/amd64/amd64/trap.c 1.18 +2 -2 src/sys/amd64/ia32/ia32_syscall.c 1.48 +26 -3 src/sys/amd64/include/pcpu.h 1.16 +1 -1 src/sys/arm/arm/intr.c 1.34 +3 -3 src/sys/arm/arm/trap.c 1.15 +1 -1 src/sys/arm/arm/undefined.c 1.5 +2 -1 src/sys/arm/include/pcpu.h 1.29 +2 -2 src/sys/i386/i386/intr_machdep.c 1.304 +3 -3 src/sys/i386/i386/trap.c 1.50 +26 -3 src/sys/i386/include/pcpu.h 1.14 +2 -2 src/sys/ia64/ia32/ia32_trap.c 1.59 +1 -1 src/sys/ia64/ia64/interrupt.c 1.128 +2 -2 src/sys/ia64/ia64/trap.c 1.20 +2 -1 src/sys/ia64/include/pcpu.h 1.146 +1 -1 src/sys/kern/kern_intr.c 1.24 +2 -1 src/sys/powerpc/include/pcpu.h 1.65 +2 -2 src/sys/powerpc/powerpc/trap.c 1.22 +2 -1 src/sys/sparc64/include/pcpu.h 1.88 +2 -2 src/sys/sparc64/sparc64/trap.c 1.8 +2 -1 src/sys/sun4v/include/pcpu.h 1.13 +2 -2 src/sys/sun4v/sun4v/trap.c 1.231 +6 -6 src/sys/vm/vm_fault.c