From owner-svn-src-head@FreeBSD.ORG Sat Nov 22 06:56:49 2008 Return-Path: Delivered-To: svn-src-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D78531065686; Sat, 22 Nov 2008 06:56:49 +0000 (UTC) (envelope-from marcel@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id C57038FC1B; Sat, 22 Nov 2008 06:56:49 +0000 (UTC) (envelope-from marcel@FreeBSD.org) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.3/8.14.3) with ESMTP id mAM6unAN009088; Sat, 22 Nov 2008 06:56:49 GMT (envelope-from marcel@svn.freebsd.org) Received: (from marcel@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id mAM6unB5009087; Sat, 22 Nov 2008 06:56:49 GMT (envelope-from marcel@svn.freebsd.org) Message-Id: <200811220656.mAM6unB5009087@svn.freebsd.org> From: Marcel Moolenaar Date: Sat, 22 Nov 2008 06:56:49 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r185163 - head/sys/ia64/include X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 22 Nov 2008 06:56:50 -0000 Author: marcel Date: Sat Nov 22 06:56:49 2008 New Revision: 185163 URL: http://svn.freebsd.org/changeset/base/185163 Log: Define mb(), rmb() and wmb() for real. Modified: head/sys/ia64/include/atomic.h Modified: head/sys/ia64/include/atomic.h ============================================================================== --- head/sys/ia64/include/atomic.h Sat Nov 22 05:55:56 2008 (r185162) +++ head/sys/ia64/include/atomic.h Sat Nov 22 06:56:49 2008 (r185163) @@ -29,9 +29,9 @@ #ifndef _MACHINE_ATOMIC_H_ #define _MACHINE_ATOMIC_H_ -#define mb() -#define wmb() -#define rmb() +#define mb() __asm __volatile("mf") +#define wmb() mb() +#define rmb() mb() /* * Various simple arithmetic on memory which is atomic in the presence