Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 11 May 2015 08:51:25 +0000 (UTC)
From:      Andrew Turner <andrew@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r282762 - head/sys/arm/arm
Message-ID:  <201505110851.t4B8pPtU018152@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: andrew
Date: Mon May 11 08:51:24 2015
New Revision: 282762
URL: https://svnweb.freebsd.org/changeset/base/282762

Log:
  Use the ACLE spelling of _ARM_ARCH_6: "__ARM_ARCH >= 6"

Modified:
  head/sys/arm/arm/swtch.S

Modified: head/sys/arm/arm/swtch.S
==============================================================================
--- head/sys/arm/arm/swtch.S	Mon May 11 08:46:23 2015	(r282761)
+++ head/sys/arm/arm/swtch.S	Mon May 11 08:51:24 2015	(r282762)
@@ -81,6 +81,7 @@
 #include "assym.s"
 #include "opt_sched.h"
 
+#include <machine/acle-compat.h>
 #include <machine/asm.h>
 #include <machine/asmacros.h>
 #include <machine/armreg.h>
@@ -88,7 +89,7 @@
 
 __FBSDID("$FreeBSD$");
 
-#if defined(_ARM_ARCH_6) && defined(SMP)
+#if __ARM_ARCH >= 6 && defined(SMP)
 #define GET_PCPU(tmp, tmp2) \
 	mrc 	p15, 0, tmp, c0, c0, 5;	\
 	and	tmp, tmp, #0xf;		\



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201505110851.t4B8pPtU018152>