summaryrefslogtreecommitdiffstats
path: root/sys/amd64/include/cpu.h
diff options
context:
space:
mode:
authorbde <bde@FreeBSD.org>1997-10-27 17:23:18 +0000
committerbde <bde@FreeBSD.org>1997-10-27 17:23:18 +0000
commitaf87f94a9c03ab34b0ccd5db7eefc2241780c97e (patch)
treeb4a7fdf1db88f62b6f999666172dab04ac3b57d8 /sys/amd64/include/cpu.h
parent059c792df99d8fd6b8a3ef5c4cf0499dfa65a16d (diff)
downloadFreeBSD-src-af87f94a9c03ab34b0ccd5db7eefc2241780c97e.zip
FreeBSD-src-af87f94a9c03ab34b0ccd5db7eefc2241780c97e.tar.gz
Moved declaration of etext from <machine/md_var.h> to <machine/cpu.h>
and fixed everything that dependended on it being declared in the old place. It is used in "machine-independent" code in subr_prof.c. Moved declaration of btext from subr_prof.c to <machine/cpu.h>. It is machine-dependent.
Diffstat (limited to 'sys/amd64/include/cpu.h')
-rw-r--r--sys/amd64/include/cpu.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/amd64/include/cpu.h b/sys/amd64/include/cpu.h
index 730b5b3..5c0c532 100644
--- a/sys/amd64/include/cpu.h
+++ b/sys/amd64/include/cpu.h
@@ -34,7 +34,7 @@
* SUCH DAMAGE.
*
* from: @(#)cpu.h 5.4 (Berkeley) 5/9/91
- * $Id: cpu.h,v 1.32 1997/08/21 06:32:48 charnier Exp $
+ * $Id: cpu.h,v 1.33 1997/08/30 02:51:58 kato Exp $
*/
#ifndef _MACHINE_CPU_H_
@@ -144,8 +144,10 @@ struct cpu_nameclass {
}
#ifdef KERNEL
+extern char btext[];
extern int cpu;
extern int cpu_class;
+extern char etext[];
extern u_char intr_nesting_level;
extern int want_resched; /* resched was called */
OpenPOWER on IntegriCloud