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

@@ -13037,11 +13037,11 @@
                 }
 
                 if (!(sec->dofs_flags & DOF_SECF_LOAD))
                         continue; /* just ignore non-loadable sections */
 
-                if (sec->dofs_align & (sec->dofs_align - 1)) {
+                if (!ISP2(sec->dofs_align)) {
                         dtrace_dof_error(dof, "bad section alignment");
                         return (-1);
                 }
 
                 if (sec->dofs_offset & (sec->dofs_align - 1)) {