Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 6 Nov 2012 21:53:17 +0000 (UTC)
From:      Nathan Whitehorn <nwhitehorn@FreeBSD.org>
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
Message-ID:  <201211062153.qA6LrHaP061267@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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_ */



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201211062153.qA6LrHaP061267>