diff options
author | marius <marius@FreeBSD.org> | 2010-08-08 14:37:16 +0000 |
---|---|---|
committer | marius <marius@FreeBSD.org> | 2010-08-08 14:37:16 +0000 |
commit | 48a7f0957b5fa2da398cb0fb215b3ed0121cb85b (patch) | |
tree | 9388b0978d66d5d3d3e7bdd1245ea9cdf42feeff /sys/sparc64 | |
parent | e052e204a863147c00047bdda247add2a5df8e1a (diff) | |
download | FreeBSD-src-48a7f0957b5fa2da398cb0fb215b3ed0121cb85b.zip FreeBSD-src-48a7f0957b5fa2da398cb0fb215b3ed0121cb85b.tar.gz |
Wrap some sun4u-only symbols.
Diffstat (limited to 'sys/sparc64')
-rw-r--r-- | sys/sparc64/sparc64/genassym.c | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/sys/sparc64/sparc64/genassym.c b/sys/sparc64/sparc64/genassym.c index d97f54c..b714805 100644 --- a/sys/sparc64/sparc64/genassym.c +++ b/sys/sparc64/sparc64/genassym.c @@ -105,10 +105,6 @@ ASSYM(IC_SIZE, offsetof(struct cacheinfo, ic_size)); 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_request, ir_arg)); 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)); |