svn commit: r231019 - head/sys/powerpc/aim
Andreas Tobler
andreast at FreeBSD.org
Sun Feb 5 15:59:19 UTC 2012
Author: andreast
Date: Sun Feb 5 15:59:18 2012
New Revision: 231019
URL: http://svn.freebsd.org/changeset/base/231019
Log:
Revert the _NOPROF entries on cpu_throw, cpu_switch and savectx. They can be
profiled too now.
MFC after: 2 weeks
Modified:
head/sys/powerpc/aim/swtch64.S
Modified: head/sys/powerpc/aim/swtch64.S
==============================================================================
--- head/sys/powerpc/aim/swtch64.S Sun Feb 5 15:54:32 2012 (r231018)
+++ head/sys/powerpc/aim/swtch64.S Sun Feb 5 15:59:18 2012 (r231019)
@@ -68,7 +68,7 @@
/*
* void cpu_throw(struct thread *old, struct thread *new)
*/
-ENTRY_NOPROF(cpu_throw)
+ENTRY(cpu_throw)
mr %r13, %r4
b cpu_switchin
@@ -79,7 +79,7 @@ ENTRY_NOPROF(cpu_throw)
*
* Switch to a new thread saving the current state in the old thread.
*/
-ENTRY_NOPROF(cpu_switch)
+ENTRY(cpu_switch)
ld %r6,TD_PCB(%r3) /* Get the old thread's PCB ptr */
std %r12,PCB_CONTEXT(%r6) /* Save the non-volatile GP regs.
These can now be used for scratch */
@@ -237,7 +237,7 @@ blocked_loop:
* savectx(pcb)
* Update pcb, saving current processor state
*/
-ENTRY_NOPROF(savectx)
+ENTRY(savectx)
std %r12,PCB_CONTEXT(%r3) /* Save the non-volatile GP regs. */
std %r13,PCB_CONTEXT+1*8(%r3)
std %r14,PCB_CONTEXT+2*8(%r3)
More information about the svn-src-all
mailing list