aboutsummaryrefslogtreecommitdiffstats
path: root/fs/xfs/support
diff options
context:
space:
mode:
authorDavid Chinner <dgc@sgi.com>2008-04-30 03:11:16 -0400
committerLinus Torvalds <torvalds@linux-foundation.org>2008-04-30 10:53:50 -0400
commit64275ea4f33636de198da5c78d0dbe31522555b0 (patch)
tree5d8aeac9e74cb62afcccb804b089437f434f4b84 /fs/xfs/support
parent957d33fc1a3793e9ca8c24c6400271b924e46e19 (diff)
[XFS] Include linux/random.h in all builds, not just debug.
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>
Diffstat (limited to 'fs/xfs/support')
-rw-r--r--fs/xfs/support/debug.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/fs/xfs/support/debug.h b/fs/xfs/support/debug.h
index 855da0408647..75845f950814 100644
--- a/fs/xfs/support/debug.h
+++ b/fs/xfs/support/debug.h
@@ -49,8 +49,6 @@ extern void assfail(char *expr, char *f, int l);
49 49
50#else /* DEBUG */ 50#else /* DEBUG */
51 51
52#include <linux/random.h>
53
54#define ASSERT(expr) \ 52#define ASSERT(expr) \
55 (unlikely(expr) ? (void)0 : assfail(#expr, __FILE__, __LINE__)) 53 (unlikely(expr) ? (void)0 : assfail(#expr, __FILE__, __LINE__))
56 54