From owner-svn-src-projects@FreeBSD.ORG Sun Nov 3 12:03:41 2013 Return-Path: Delivered-To: svn-src-projects@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 96A6130B; Sun, 3 Nov 2013 12:03:41 +0000 (UTC) (envelope-from andrew@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 8426F2B73; Sun, 3 Nov 2013 12:03:41 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.7/8.14.7) with ESMTP id rA3C3fKe053043; Sun, 3 Nov 2013 12:03:41 GMT (envelope-from andrew@svn.freebsd.org) Received: (from andrew@localhost) by svn.freebsd.org (8.14.7/8.14.5/Submit) id rA3C3fv5053042; Sun, 3 Nov 2013 12:03:41 GMT (envelope-from andrew@svn.freebsd.org) Message-Id: <201311031203.rA3C3fv5053042@svn.freebsd.org> From: Andrew Turner Date: Sun, 3 Nov 2013 12:03:41 +0000 (UTC) To: src-committers@freebsd.org, svn-src-projects@freebsd.org Subject: svn commit: r257569 - projects/specific_leg/sys/arm/arm X-SVN-Group: projects MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-projects@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "SVN commit messages for the src " projects" tree" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 03 Nov 2013 12:03:41 -0000 Author: andrew Date: Sun Nov 3 12:03:41 2013 New Revision: 257569 URL: http://svnweb.freebsd.org/changeset/base/257569 Log: Use _ARM_ARCH_6 instead of listing all CPU types we support. Modified: projects/specific_leg/sys/arm/arm/locore.S Modified: projects/specific_leg/sys/arm/arm/locore.S ============================================================================== --- projects/specific_leg/sys/arm/arm/locore.S Sun Nov 3 10:01:53 2013 (r257568) +++ projects/specific_leg/sys/arm/arm/locore.S Sun Nov 3 12:03:41 2013 (r257569) @@ -171,7 +171,7 @@ from_ram: mcr p15, 0, r0, c2, c0, 0 /* Set TTB */ mcr p15, 0, r0, c8, c7, 0 /* Flush TLB */ -#if defined(CPU_ARM1136) || defined(CPU_ARM1176) || defined(CPU_CORTEXA) || defined(CPU_MV_PJ4B) +#ifdef _ARM_ARCH_6 mov r0, #0 mcr p15, 0, r0, c13, c0, 1 /* Set ASID to 0 */ #endif