From owner-svn-src-all@FreeBSD.ORG Tue Nov 6 21:53:17 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 7B88389C; Tue, 6 Nov 2012 21:53:17 +0000 (UTC) (envelope-from nwhitehorn@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) by mx1.freebsd.org (Postfix) with ESMTP id 5FDB78FC18; Tue, 6 Nov 2012 21:53:17 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.5/8.14.5) with ESMTP id qA6LrH9A061270; Tue, 6 Nov 2012 21:53:17 GMT (envelope-from nwhitehorn@svn.freebsd.org) Received: (from nwhitehorn@localhost) by svn.freebsd.org (8.14.5/8.14.5/Submit) id qA6LrHaP061267; Tue, 6 Nov 2012 21:53:17 GMT (envelope-from nwhitehorn@svn.freebsd.org) Message-Id: <201211062153.qA6LrHaP061267@svn.freebsd.org> From: Nathan Whitehorn Date: Tue, 6 Nov 2012 21:53:17 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-9@freebsd.org Subject: svn commit: r242677 - stable/9/sys/powerpc/include X-SVN-Group: stable-9 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.14 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: Tue, 06 Nov 2012 21:53:17 -0000 Author: nwhitehorn Date: Tue Nov 6 21:53:17 2012 New Revision: 242677 URL: http://svnweb.freebsd.org/changeset/base/242677 Log: MFC r240860: Move the prototype for savectx from cpu.h to pcb.h, as it is on other platforms, as well as putting it in an #ifdef KERNEL block. Modified: stable/9/sys/powerpc/include/cpu.h stable/9/sys/powerpc/include/pcb.h Directory Properties: stable/9/sys/ (props changed) Modified: stable/9/sys/powerpc/include/cpu.h ============================================================================== --- stable/9/sys/powerpc/include/cpu.h Tue Nov 6 21:48:45 2012 (r242676) +++ stable/9/sys/powerpc/include/cpu.h Tue Nov 6 21:53:17 2012 (r242677) @@ -98,7 +98,4 @@ void cpu_reset(void); void fork_trampoline(void); void swi_vm(void *); -/* XXX the following should not be here. */ -void savectx(struct pcb *) __returns_twice; - #endif /* _MACHINE_CPU_H_ */ Modified: stable/9/sys/powerpc/include/pcb.h ============================================================================== --- stable/9/sys/powerpc/include/pcb.h Tue Nov 6 21:48:45 2012 (r242676) +++ stable/9/sys/powerpc/include/pcb.h Tue Nov 6 21:53:17 2012 (r242677) @@ -89,6 +89,7 @@ extern struct pmap *curpm; extern struct proc *fpuproc; void makectx(struct trapframe *, struct pcb *); +void savectx(struct pcb *) __returns_twice; #endif #endif /* _MACHINE_PCB_H_ */