]> err.no Git - linux-2.6/blobdiff - fs/xfs/xfs_alloc.c
[MIPS] Early check for SMTC kernel on non-MT processor
[linux-2.6] / fs / xfs / xfs_alloc.c
index e80dda3437d196345b0d19cded4cac518b4e0eda..8e9a40aa0cd3fec9c14ffa158730ef801d6f598a 100644 (file)
@@ -764,7 +764,7 @@ xfs_alloc_ag_vextent_near(
         */
        int             dofirst;        /* set to do first algorithm */
 
-       dofirst = random() & 1;
+       dofirst = random32() & 1;
 #endif
        /*
         * Get a cursor for the by-size btree.