diff options
author | Joe Perches <joe@perches.com> | 2007-05-07 23:49:03 -0400 |
---|---|---|
committer | Tim Shimmin <tes@sgi.com> | 2007-05-07 23:49:03 -0400 |
commit | e7a23a9b37c395a153a541d4c50e166eef6abe49 (patch) | |
tree | 11afa34a0a6d10c482f6b07f1d6d6788bd71ba11 /fs/xfs/support/debug.h | |
parent | e9ed9d2240c71014a84043095af4465ffce61367 (diff) |
[XFS] reducing the number of random number functions.
Patch provided by Joe Perches
SGI-PV: 961696
SGI-Modid: xfs-linux-melb:xfs-kern:28209a
Signed-off-by: Joe Perches <joe@perches.com>
Signed-off-by: Lachlan McIlroy <lachlan@sgi.com>
Signed-off-by: Tim Shimmin <tes@sgi.com>
Diffstat (limited to 'fs/xfs/support/debug.h')
-rw-r--r-- | fs/xfs/support/debug.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/xfs/support/debug.h b/fs/xfs/support/debug.h index 2a70cc605ae3..a27a7c8c0526 100644 --- a/fs/xfs/support/debug.h +++ b/fs/xfs/support/debug.h | |||
@@ -50,7 +50,7 @@ extern void assfail(char *expr, char *f, int l); | |||
50 | #else /* DEBUG */ | 50 | #else /* DEBUG */ |
51 | 51 | ||
52 | # define ASSERT(expr) ASSERT_ALWAYS(expr) | 52 | # define ASSERT(expr) ASSERT_ALWAYS(expr) |
53 | extern unsigned long random(void); | 53 | # include <linux/random.h> |
54 | 54 | ||
55 | #ifndef STATIC | 55 | #ifndef STATIC |
56 | # define STATIC noinline | 56 | # define STATIC noinline |