From owner-svn-src-head@FreeBSD.ORG Fri May 23 00:21:02 2014 Return-Path: Delivered-To: svn-src-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id BEF0DA81; Fri, 23 May 2014 00:21:02 +0000 (UTC) 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)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id AD07D2A2D; Fri, 23 May 2014 00:21:02 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.8/8.14.8) with ESMTP id s4N0L2t4088846; Fri, 23 May 2014 00:21:02 GMT (envelope-from imp@svn.freebsd.org) Received: (from imp@localhost) by svn.freebsd.org (8.14.8/8.14.8/Submit) id s4N0L2ko088845; Fri, 23 May 2014 00:21:02 GMT (envelope-from imp@svn.freebsd.org) Message-Id: <201405230021.s4N0L2ko088845@svn.freebsd.org> From: Warner Losh Date: Fri, 23 May 2014 00:21:02 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r266570 - head/sys/arm/include X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.18 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, 23 May 2014 00:21:02 -0000 Author: imp Date: Fri May 23 00:21:02 2014 New Revision: 266570 URL: http://svnweb.freebsd.org/changeset/base/266570 Log: Remove NetBSD implementation details not relevant to FreeBSD. Modified: head/sys/arm/include/ucontext.h Modified: head/sys/arm/include/ucontext.h ============================================================================== --- head/sys/arm/include/ucontext.h Fri May 23 00:20:57 2014 (r266569) +++ head/sys/arm/include/ucontext.h Fri May 23 00:21:02 2014 (r266570) @@ -97,12 +97,4 @@ typedef struct { #define _UC_SETSTACK 0x00020000 #define _UC_CLRSTACK 0x00040000 -#define _UC_MACHINE_PAD 3 /* Padding appended to ucontext_t */ - -#define _UC_MACHINE_SP(uc) ((uc)->uc_mcontext.__gregs[_REG_SP]) -#define _UC_MACHINE_PC(uc) ((uc)->uc_mcontext.__gregs[_REG_PC]) -#define _UC_MACHINE_INTRV(uc) ((uc)->uc_mcontext.__gregs[_REG_R0]) - -#define _UC_MACHINE_SET_PC(uc, pc) _UC_MACHINE_PC(uc) = (pc) - #endif /* !_MACHINE_MCONTEXT_H_ */