From owner-svn-src-head@FreeBSD.ORG Fri Dec 26 11:47:12 2014 Return-Path: Delivered-To: svn-src-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id DF18B813; Fri, 26 Dec 2014 11:47:12 +0000 (UTC) Received: from nibbler.fubar.geek.nz (nibbler.fubar.geek.nz [199.48.134.198]) by mx1.freebsd.org (Postfix) with ESMTP id C26F4645D2; Fri, 26 Dec 2014 11:47:12 +0000 (UTC) Received: from bender (unknown [213.205.252.212]) by nibbler.fubar.geek.nz (Postfix) with ESMTPSA id 369F17328F; Fri, 26 Dec 2014 11:47:05 +0000 (UTC) Date: Fri, 26 Dec 2014 11:46:59 +0000 From: Andrew Turner To: Ian Lepore Subject: Re: svn commit: r276212 - head/sys/arm/include Message-ID: <20141226114659.37e384b3@bender> In-Reply-To: <201412251908.sBPJ8ej0079939@svn.freebsd.org> References: <201412251908.sBPJ8ej0079939@svn.freebsd.org> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: svn-src-head@freebsd.org, svn-src-all@freebsd.org, src-committers@freebsd.org X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.18-1 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: Fri, 26 Dec 2014 11:47:13 -0000 On Thu, 25 Dec 2014 19:08:40 +0000 (UTC) Ian Lepore wrote: > Author: ian > Date: Thu Dec 25 19:08:39 2014 > New Revision: 276212 > URL: https://svnweb.freebsd.org/changeset/base/276212 > > Log: > Add macros for asm barrier instructions with arch-specific > implementations. > > Modified: > head/sys/arm/include/asm.h > > Modified: head/sys/arm/include/asm.h > ============================================================================== > --- head/sys/arm/include/asm.h Thu Dec 25 18:22:22 2014 > (r276211) +++ head/sys/arm/include/asm.h Thu Dec 25 19:08:39 > 2014 (r276212) @@ -39,6 +39,7 @@ > #ifndef _MACHINE_ASM_H_ > #define _MACHINE_ASM_H_ > #include > +#include > > #define _C_LABEL(x) x > #define _ASM_LABEL(x) x > @@ -221,4 +222,18 @@ > # define RETc(c) mov##c pc, lr > #endif > > +#if __ARM_ARCH >= 7 Either this file or all other files that include it should include to pick up __ARM_ARCH when building with gcc. Andrew