mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-08-26 02:39:48 +00:00
[XFS] Include linux/random.h in all builds, not just debug builds.
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>
This commit is contained in:
parent
adaa693b84
commit
a94477da38
2 changed files with 1 additions and 2 deletions
|
@ -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 a new issue