[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>
This commit is contained in:
parent
957d33fc1a
commit
64275ea4f3
|
@ -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);
|
||||||
|
|
||||||
#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__))
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue