From owner-svn-src-all@FreeBSD.ORG Fri Jan 11 00:03:19 2013 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id A42DDC35; Fri, 11 Jan 2013 00:03:19 +0000 (UTC) (envelope-from imp@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) by mx1.freebsd.org (Postfix) with ESMTP id 96240235; Fri, 11 Jan 2013 00:03:19 +0000 (UTC) Received: from svn.freebsd.org (svn.FreeBSD.org [8.8.178.70]) by svn.freebsd.org (8.14.5/8.14.5) with ESMTP id r0B03JLa082188; Fri, 11 Jan 2013 00:03:19 GMT (envelope-from imp@svn.freebsd.org) Received: (from imp@localhost) by svn.freebsd.org (8.14.5/8.14.5/Submit) id r0B03JaJ082187; Fri, 11 Jan 2013 00:03:19 GMT (envelope-from imp@svn.freebsd.org) Message-Id: <201301110003.r0B03JaJ082187@svn.freebsd.org> From: Warner Losh Date: Fri, 11 Jan 2013 00:03:19 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r245275 - head/sys/dev/sym X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 11 Jan 2013 00:03:19 -0000 Author: imp Date: Fri Jan 11 00:03:19 2013 New Revision: 245275 URL: http://svnweb.freebsd.org/changeset/base/245275 Log: Use better arm memory barrier Modified: head/sys/dev/sym/sym_hipd.c Modified: head/sys/dev/sym/sym_hipd.c ============================================================================== --- head/sys/dev/sym/sym_hipd.c Thu Jan 10 23:56:50 2013 (r245274) +++ head/sys/dev/sym/sym_hipd.c Fri Jan 11 00:03:19 2013 (r245275) @@ -86,6 +86,7 @@ __FBSDID("$FreeBSD$"); #include #include +#include #ifdef __sparc64__ #include @@ -136,7 +137,7 @@ typedef u_int32_t u32; #elif defined __sparc64__ #define MEMORY_BARRIER() __asm__ volatile("membar #Sync" : : : "memory") #elif defined __arm__ -#define MEMORY_BARRIER() __do_dmb() +#define MEMORY_BARRIER() dmb() #else #error "Not supported platform" #endif