]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
[XFS] Include linux/random.h in all builds, not just debug.
authorDavid Chinner <dgc@sgi.com>
Wed, 30 Apr 2008 07:11:16 +0000 (17:11 +1000)
committerLinus Torvalds <torvalds@linux-foundation.org>
Wed, 30 Apr 2008 14:53:50 +0000 (07:53 -0700)
Noted-by: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: Dave Chinner <dgc@sgi.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
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__))