Print this page
5255 uts shouldn't open-code ISP2

@@ -893,11 +893,11 @@
         } else if (MAX_CMP_UNITS_PER_BOARD > 1) {
                 cmn_err(CE_WARN, "!drmach_init: DR doesn't support multiple "
                     "(%d) physical processors on one board.",
                     MAX_CMP_UNITS_PER_BOARD);
                 return (ENXIO);
-        } else if (MAX_CORES_PER_CMP & (MAX_CORES_PER_CMP - 1)) {
+        } else if (!ISP2(MAX_CORES_PER_CMP)) {
                 cmn_err(CE_WARN, "!drmach_init: number of logical CPUs (%d) in "
                     "physical processor is not power of 2.",
                     MAX_CORES_PER_CMP);
                 return (ENXIO);
         } else if (MAX_CPU_UNITS_PER_BOARD > DEVSET_CPU_NUMBER ||