[XFS] Include linux/random.h in all builds, not just debug builds.
authorDavid Chinner <dgc@sgi.com>
Wed, 30 Apr 2008 08:15:34 +0000 (18:15 +1000)
committerLachlan McIlroy <lachlan@redback.melbourne.sgi.com>
Wed, 30 Apr 2008 08:17:44 +0000 (18:17 +1000)
SGI-PV: 979416
SGI-Modid: xfs-linux-melb:xfs-kern:31008a

Signed-off-by: David Chinner <dgc@sgi.com>
Signed-off-by: Lachlan McIlroy <lachlan@sgi.com>
fs/xfs/linux-2.6/xfs_linux.h
fs/xfs/support/debug.h

index 1bc9f600365fc4716511fdd4cf4e268941036ba0..4edc46915b575a7eb1261f2bda587cfbccfe0462 100644 (file)
@@ -75,6 +75,7 @@
 #include <linux/delay.h>
 #include <linux/log2.h>
 #include <linux/spinlock.h>
+#include <linux/random.h>
 
 #include <asm/page.h>
 #include <asm/div64.h>
index 855da04086479481a60c5d5a9dd271fb37c57bc7..75845f950814ca8beac0bf2941eea886d8446271 100644 (file)
@@ -49,8 +49,6 @@ extern void assfail(char *expr, char *f, int l);
 
 #else /* DEBUG */
 
-#include <linux/random.h>
-
 #define ASSERT(expr)   \
        (unlikely(expr) ? (void)0 : assfail(#expr, __FILE__, __LINE__))