summaryrefslogtreecommitdiff
path: root/usr/src/uts/common/os/chip.c
diff options
context:
space:
mode:
authorjl139090 <none@none>2006-04-08 10:25:15 -0700
committerjl139090 <none@none>2006-04-08 10:25:15 -0700
commit25cf1a301a396c38e8adf52c15f537b80d2483f7 (patch)
treea76776c2cfbbe43c1ae252223c7ccfa5df15c21c /usr/src/uts/common/os/chip.c
parent918fadfadf0c235e6c65ca652caab042b6f05976 (diff)
downloadillumos-joyent-25cf1a301a396c38e8adf52c15f537b80d2483f7.tar.gz
PSARC 2004/750 Solaris for OPL
6379529 Solaris for OPL Project --HG-- rename : usr/src/cmd/sckmd/sparc/sun4u/sckm.sh => deleted_files/usr/src/cmd/sckmd/sparc/sun4u/sckm.sh
Diffstat (limited to 'usr/src/uts/common/os/chip.c')
-rw-r--r--usr/src/uts/common/os/chip.c9
1 files changed, 4 insertions, 5 deletions
diff --git a/usr/src/uts/common/os/chip.c b/usr/src/uts/common/os/chip.c
index 8b0bfd765d..6a74cf4a91 100644
--- a/usr/src/uts/common/os/chip.c
+++ b/usr/src/uts/common/os/chip.c
@@ -2,9 +2,8 @@
* CDDL HEADER START
*
* The contents of this file are subject to the terms of the
- * Common Development and Distribution License, Version 1.0 only
- * (the "License"). You may not use this file except in compliance
- * with the License.
+ * Common Development and Distribution License (the "License").
+ * You may not use this file except in compliance with the License.
*
* You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
* or http://www.opensolaris.org/os/licensing.
@@ -230,11 +229,11 @@ chip_cpu_init(cpu_t *cp)
* On sun4v platforms, the chip infrastructure is currently being
* leveraged to implement core level load balancing.
*/
-#ifdef sun4v
+#ifdef DO_CORELEVEL_LOADBAL
cid = chip_plat_get_coreid(cp);
#else
cid = chip_plat_get_chipid(cp);
-#endif /* sun4v */
+#endif /* DO_CORELEVEL_LOADBAL */
chp = chip_find(cid);
if (chp == NULL) {