Commit 64275ea4 authored by David Chinner's avatar David Chinner Committed by Linus Torvalds

[XFS] Include linux/random.h in all builds, not just debug.

Noted-by: default avatarStephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: default avatarDave Chinner <dgc@sgi.com>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent 957d33fc
...@@ -75,6 +75,7 @@ ...@@ -75,6 +75,7 @@
#include <linux/delay.h> #include <linux/delay.h>
#include <linux/log2.h> #include <linux/log2.h>
#include <linux/spinlock.h> #include <linux/spinlock.h>
#include <linux/random.h>
#include <asm/page.h> #include <asm/page.h>
#include <asm/div64.h> #include <asm/div64.h>
......
...@@ -49,8 +49,6 @@ extern void assfail(char *expr, char *f, int l); ...@@ -49,8 +49,6 @@ extern void assfail(char *expr, char *f, int l);
#else /* DEBUG */ #else /* DEBUG */
#include <linux/random.h>
#define ASSERT(expr) \ #define ASSERT(expr) \
(unlikely(expr) ? (void)0 : assfail(#expr, __FILE__, __LINE__)) (unlikely(expr) ? (void)0 : assfail(#expr, __FILE__, __LINE__))
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment