From owner-svn-src-all@FreeBSD.ORG Sat May 5 07:15:35 2012 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 93D8A106566C; Sat, 5 May 2012 07:15:35 +0000 (UTC) (envelope-from imp@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id 7F1158FC12; Sat, 5 May 2012 07:15:35 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.4/8.14.4) with ESMTP id q457FZVE044680; Sat, 5 May 2012 07:15:35 GMT (envelope-from imp@svn.freebsd.org) Received: (from imp@localhost) by svn.freebsd.org (8.14.4/8.14.4/Submit) id q457FZ6v044678; Sat, 5 May 2012 07:15:35 GMT (envelope-from imp@svn.freebsd.org) Message-Id: <201205050715.q457FZ6v044678@svn.freebsd.org> From: Warner Losh Date: Sat, 5 May 2012 07:15:35 +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: r235050 - head/sys/arm/arm X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 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: Sat, 05 May 2012 07:15:35 -0000 Author: imp Date: Sat May 5 07:15:34 2012 New Revision: 235050 URL: http://svn.freebsd.org/changeset/base/235050 Log: Big endian arm boxes need to have a uname -m of armeb, not arm, so that the bootstrap from source works correctly. MFC after: 4 days Modified: head/sys/arm/arm/identcpu.c Modified: head/sys/arm/arm/identcpu.c ============================================================================== --- head/sys/arm/arm/identcpu.c Sat May 5 02:53:19 2012 (r235049) +++ head/sys/arm/arm/identcpu.c Sat May 5 07:15:34 2012 (r235050) @@ -52,11 +52,16 @@ __FBSDID("$FreeBSD$"); #include #include #include +#include #include #include +#if _BYTE_ORDER == _LITTLE_ENDIAN char machine[] = "arm"; +#else +char machine[] = "armeb"; +#endif SYSCTL_STRING(_hw, HW_MACHINE, machine, CTLFLAG_RD, machine, 0, "Machine class");