summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorTodd C. Miller <millert@cvs.openbsd.org>2002-05-02 23:05:28 +0000
committerTodd C. Miller <millert@cvs.openbsd.org>2002-05-02 23:05:28 +0000
commitf05f44ac7cfb28b4dfcf2d813bdd697ca912b08b (patch)
treecb2d10f619569eac9b57bedfdb19684fa171e2ec /sys
parentf69ff2bae348f49f6e5fccbf1594b839e98792ef (diff)
Add a type specifier for intrnames, eintrnames, intrcnt, and eintrcnt.
Without this, n_type in struct nlist ends up as N_UNDF for those symbols which makes vmstat -i unhappy. mido@ OK
Diffstat (limited to 'sys')
-rw-r--r--sys/arch/alpha/alpha/locore.s6
1 files changed, 5 insertions, 1 deletions
diff --git a/sys/arch/alpha/alpha/locore.s b/sys/arch/alpha/alpha/locore.s
index 4d38766d884..3d4e3958bc5 100644
--- a/sys/arch/alpha/alpha/locore.s
+++ b/sys/arch/alpha/alpha/locore.s
@@ -1,4 +1,4 @@
-/* $OpenBSD: locore.s,v 1.18 2002/04/28 20:55:14 pvalchev Exp $ */
+/* $OpenBSD: locore.s,v 1.19 2002/05/02 23:05:27 millert Exp $ */
/* $NetBSD: locore.s,v 1.94 2001/04/26 03:10:44 ross Exp $ */
/*-
@@ -1780,16 +1780,20 @@ XLEAF(suswintr, 2) /* XXX what is a 'word'? */
.data
EXPORT(intrnames)
+ .type intrnames,@object
#ifndef EVCNT_COUNTERS
INTRNAMES_DEFINITION
#endif
EXPORT(eintrnames)
+ .type eintrnames,@object
.align 3
EXPORT(intrcnt)
+ .type intrcnt,@object
#ifndef EVCNT_COUNTERS
INTRCNT_DEFINITION
#endif
EXPORT(eintrcnt)
+ .type eintrcnt,@object
.text
/**************************************************************************/