]> Git Repo - linux.git/blobdiff - scripts/gcc-plugins/latent_entropy_plugin.c
drm/i915: use variadic macros and arrays to choose port/pipe based registers
[linux.git] / scripts / gcc-plugins / latent_entropy_plugin.c
index 12541126575b1e2416ad48d58f1d01f8e08a5d93..8ff203ad48093f57fccf04bb9d7c9b9e1952603b 100644 (file)
@@ -328,9 +328,9 @@ static enum tree_code get_op(tree *rhs)
                        op = LROTATE_EXPR;
                        /*
                         * This code limits the value of random_const to
-                        * the size of a wide int for the rotation
+                        * the size of a long for the rotation
                         */
-                       random_const &= HOST_BITS_PER_WIDE_INT - 1;
+                       random_const %= TYPE_PRECISION(long_unsigned_type_node);
                        break;
                }
 
This page took 0.036155 seconds and 4 git commands to generate.