diff options
author | andreast <andreast@FreeBSD.org> | 2012-02-05 15:59:18 +0000 |
---|---|---|
committer | andreast <andreast@FreeBSD.org> | 2012-02-05 15:59:18 +0000 |
commit | d8b750398a88a82c50e7a06c74d125b0d79bb59c (patch) | |
tree | 85ec5dacb7b68791a9df1c153f09114c8a1136ea /sys/powerpc/aim/swtch64.S | |
parent | 1d510ea553826051e179bde1773d2c8f059df5e1 (diff) | |
download | FreeBSD-src-d8b750398a88a82c50e7a06c74d125b0d79bb59c.zip FreeBSD-src-d8b750398a88a82c50e7a06c74d125b0d79bb59c.tar.gz |
Revert the _NOPROF entries on cpu_throw, cpu_switch and savectx. They can be
profiled too now.
MFC after: 2 weeks
Diffstat (limited to 'sys/powerpc/aim/swtch64.S')
-rw-r--r-- | sys/powerpc/aim/swtch64.S | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/powerpc/aim/swtch64.S b/sys/powerpc/aim/swtch64.S index 489ec40..3b09adf 100644 --- a/sys/powerpc/aim/swtch64.S +++ b/sys/powerpc/aim/swtch64.S @@ -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) |