svn commit: r211073 - head/sys/sparc64/sparc64
Marius Strobl
marius at FreeBSD.org
Sun Aug 8 14:37:16 UTC 2010
Author: marius
Date: Sun Aug 8 14:37:16 2010
New Revision: 211073
URL: http://svn.freebsd.org/changeset/base/211073
Log:
Wrap some sun4u-only symbols.
Modified:
head/sys/sparc64/sparc64/genassym.c
Modified: head/sys/sparc64/sparc64/genassym.c
==============================================================================
--- head/sys/sparc64/sparc64/genassym.c Sun Aug 8 14:13:10 2010 (r211072)
+++ head/sys/sparc64/sparc64/genassym.c Sun Aug 8 14:37:16 2010 (r211073)
@@ -105,10 +105,6 @@ ASSYM(IC_SIZE, offsetof(struct cacheinfo
ASSYM(IC_LINESIZE, offsetof(struct cacheinfo, ic_linesize));
#endif
-#ifdef SMP
-ASSYM(ICA_PA, offsetof(struct ipi_cache_args, ica_pa));
-#endif
-
ASSYM(KTR_SIZEOF, sizeof(struct ktr_entry));
ASSYM(KTR_LINE, offsetof(struct ktr_entry, ktr_line));
ASSYM(KTR_FILE, offsetof(struct ktr_entry, ktr_file));
@@ -215,7 +211,9 @@ ASSYM(IR_ARG, offsetof(struct intr_reque
ASSYM(IR_PRI, offsetof(struct intr_request, ir_pri));
ASSYM(IR_VEC, offsetof(struct intr_request, ir_vec));
-#ifdef SMP
+#if defined(SUN4U) && defined(SMP)
+ASSYM(ICA_PA, offsetof(struct ipi_cache_args, ica_pa));
+
ASSYM(IRA_MASK, offsetof(struct ipi_rd_args, ira_mask));
ASSYM(IRA_VAL, offsetof(struct ipi_rd_args, ira_val));
More information about the svn-src-head
mailing list