summaryrefslogtreecommitdiffstats
path: root/sys/amd64/include/apicreg.h
diff options
context:
space:
mode:
authorjake <jake@FreeBSD.org>2001-02-25 06:29:04 +0000
committerjake <jake@FreeBSD.org>2001-02-25 06:29:04 +0000
commitfbf342ab7736fe8774f28ecc90671b700e0c27e5 (patch)
tree1ef6a84d8a923362e29bf63c82811818a2a1e478 /sys/amd64/include/apicreg.h
parent49093edcc3f19e56099601fc10d7872f4c346b54 (diff)
downloadFreeBSD-src-fbf342ab7736fe8774f28ecc90671b700e0c27e5.zip
FreeBSD-src-fbf342ab7736fe8774f28ecc90671b700e0c27e5.tar.gz
Remove the leading underscore from all symbols defined in x86 asm
and used in C or vice versa. The elf compiler uses the same names for both. Remove asnames.h with great prejudice; it has served its purpose. Note that this does not affect the ability to generate an aout kernel due to gcc's -mno-underscores option. moral support from: peter, jhb
Diffstat (limited to 'sys/amd64/include/apicreg.h')
-rw-r--r--sys/amd64/include/apicreg.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/amd64/include/apicreg.h b/sys/amd64/include/apicreg.h
index 3d84792..8e7a3b0 100644
--- a/sys/amd64/include/apicreg.h
+++ b/sys/amd64/include/apicreg.h
@@ -470,8 +470,8 @@ typedef struct IOAPIC ioapic_t;
/*
* Protects the IO APIC and apic_imen as a critical region.
*/
-#define IMASK_LOCK MTX_LOCK_SPIN(_imen_mtx, 0)
-#define IMASK_UNLOCK MTX_UNLOCK_SPIN(_imen_mtx)
+#define IMASK_LOCK MTX_LOCK_SPIN(imen_mtx, 0)
+#define IMASK_UNLOCK MTX_UNLOCK_SPIN(imen_mtx)
#else /* SMP */
OpenPOWER on IntegriCloud