diff options
author | Dale Rahn <drahn@cvs.openbsd.org> | 2005-09-19 04:16:25 +0000 |
---|---|---|
committer | Dale Rahn <drahn@cvs.openbsd.org> | 2005-09-19 04:16:25 +0000 |
commit | 31f93a076ba883138b4081a293a18720b0b65b5b (patch) | |
tree | 43c01829b90bf6d1319b62b678c70dcd7c7eb466 | |
parent | 01ec42cd0b1298edbd57765347a871a7e984b7e7 (diff) |
Make idle a global variable so that gprof can see it and the time can
be attributed more correctly for kgmon output.
-rw-r--r-- | sys/arch/macppc/macppc/locore.S | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/arch/macppc/macppc/locore.S b/sys/arch/macppc/macppc/locore.S index 1a3fecd1694..35958bee209 100644 --- a/sys/arch/macppc/macppc/locore.S +++ b/sys/arch/macppc/macppc/locore.S @@ -1,4 +1,4 @@ -/* $OpenBSD: locore.S,v 1.21 2005/08/02 21:02:48 drahn Exp $ */ +/* $OpenBSD: locore.S,v 1.22 2005/09/19 04:16:24 drahn Exp $ */ /* $NetBSD: locore.S,v 1.2 1996/10/16 19:33:09 ws Exp $ */ /* @@ -133,6 +133,8 @@ start: * No processes are runnable, so loop waiting for one. * Separate label here for accounting purposes. */ + .globl _C_LABEL(idle) + .type _C_LABEL(idle),@function _C_LABEL(idle): mfmsr %r3 /* disable interrupts while manipulating runque */ |