From owner-freebsd-arm@FreeBSD.ORG Mon Jun 1 23:55:46 2009 Return-Path: Delivered-To: arm@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5BF74106564A; Mon, 1 Jun 2009 23:55:46 +0000 (UTC) (envelope-from imp@bsdimp.com) Received: from harmony.bsdimp.com (bsdimp.com [199.45.160.85]) by mx1.freebsd.org (Postfix) with ESMTP id 1D83A8FC15; Mon, 1 Jun 2009 23:55:46 +0000 (UTC) (envelope-from imp@bsdimp.com) Received: from localhost (localhost [127.0.0.1]) by harmony.bsdimp.com (8.14.3/8.14.1) with ESMTP id n51NpZc6000460; Mon, 1 Jun 2009 17:51:35 -0600 (MDT) (envelope-from imp@bsdimp.com) Date: Mon, 01 Jun 2009 17:51:46 -0600 (MDT) Message-Id: <20090601.175146.255408209.imp@bsdimp.com> To: kmacy@FreeBSD.org From: "M. Warner Losh" In-Reply-To: <200906012209.n51M9gTU094161@svn.freebsd.org> References: <200906012209.n51M9gTU094161@svn.freebsd.org> X-Mailer: Mew version 5.2 on Emacs 21.3 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: arm@FreeBSD.org Subject: Re: svn commit: r193282 - stable/7/sys/libkern X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the StrongARM Processor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 01 Jun 2009 23:55:46 -0000 In message: <200906012209.n51M9gTU094161@svn.freebsd.org> Kip Macy writes: : Author: kmacy : Date: Mon Jun 1 22:09:42 2009 : New Revision: 193282 : URL: http://svn.freebsd.org/changeset/base/193282 : : Log: : memmove is defined in support.S on arm - don't compile in : : Modified: : stable/7/sys/libkern/memmove.c : : Modified: stable/7/sys/libkern/memmove.c : ============================================================================== : --- stable/7/sys/libkern/memmove.c Mon Jun 1 22:05:08 2009 (r193281) : +++ stable/7/sys/libkern/memmove.c Mon Jun 1 22:09:42 2009 (r193282) : @@ -29,6 +29,7 @@ __FBSDID("$FreeBSD$"); : : #include : : +#if !defined(__arm__) : void * : memmove(void *dest, const void *src, size_t n) : { : @@ -36,3 +37,4 @@ memmove(void *dest, const void *src, siz : bcopy(src, dest, n); : return (dest); : } : +#endif Ummm, usually we don't bother to even include the .c file in cases like this... Is it this way in -head? Warner