提交 64275ea4 编写于 作者: D David Chinner 提交者: Linus Torvalds

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

Noted-by: NStephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: NDave Chinner <dgc@sgi.com>
Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
上级 957d33fc
......@@ -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>
......
......@@ -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__))
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册