From owner-cvs-src-old@FreeBSD.ORG Sun May 22 20:56:18 2011 Return-Path: Delivered-To: cvs-src-old@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2F20E106564A for ; Sun, 22 May 2011 20:56:18 +0000 (UTC) (envelope-from attilio@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 1DE078FC15 for ; Sun, 22 May 2011 20:56:18 +0000 (UTC) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.4/8.14.4) with ESMTP id p4MKuIu2070056 for ; Sun, 22 May 2011 20:56:18 GMT (envelope-from attilio@repoman.freebsd.org) Received: (from svn2cvs@localhost) by repoman.freebsd.org (8.14.4/8.14.4/Submit) id p4MKuHar070055 for cvs-src-old@freebsd.org; Sun, 22 May 2011 20:56:17 GMT (envelope-from attilio@repoman.freebsd.org) Message-Id: <201105222056.p4MKuHar070055@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: svn2cvs set sender to attilio@repoman.freebsd.org using -f From: Attilio Rao Date: Sun, 22 May 2011 20:55:54 +0000 (UTC) To: cvs-src-old@freebsd.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/sys/dev/cfi cfi_dev.c src/sys/powerpc/include atomic.h X-BeenThere: cvs-src-old@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: **OBSOLETE** CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 22 May 2011 20:56:18 -0000 attilio 2011-05-22 20:55:54 UTC FreeBSD src repository Modified files: sys/dev/cfi cfi_dev.c sys/powerpc/include atomic.h Log: SVN rev 222198 on 2011-05-22 20:55:54Z by attilio Merge r221614,221696,221737,221840 from largeSMP project branch: Rewrite atomic operations for powerpc in order to achieve the following: - Produce a type-clean implementation (in terms of functions arguments and returned values) for the primitives. - Fix errors with _long() atomics where they ended up with the wrong arguments to be accepted. - Follow the sys/type.h specifics that define the numbered types starting from standard C types. - Let _ptr() version to not auto-magically cast arguments, but leave the burden on callers, as _ptr() atomic is intended to be used relatively rarely. Fix cfi in order to support the latest point. In collabouration with: bde Tested by: andreast, nwhitehorn, jceel MFC after: 2 weeks Revision Changes Path 1.5 +2 -1 src/sys/dev/cfi/cfi_dev.c 1.26 +266 -262 src/sys/powerpc/include/atomic.h