diff options
author | Christoph Hellwig <hch@sgi.com> | 2005-11-01 23:07:23 -0500 |
---|---|---|
committer | Nathan Scott <nathans@sgi.com> | 2005-11-01 23:07:23 -0500 |
commit | 4750ddb0ba781006f149fdd87bbe997cb8c07e2e (patch) | |
tree | 292afaacc3041588b53eff492dbe4c82c861957a /fs/xfs/support | |
parent | 5bde1ba99c8243617277f37897189c799e398baf (diff) |
[XFS] Fix sparse warnings in ktrace.[ch]
SGI-PV: 943556
SGI-Modid: xfs-linux:xfs-kern:200113a
Signed-off-by: Christoph Hellwig <hch@sgi.com>
Signed-off-by: Nathan Scott <nathans@sgi.com>
Diffstat (limited to 'fs/xfs/support')
-rw-r--r-- | fs/xfs/support/ktrace.c | 2 | ||||
-rw-r--r-- | fs/xfs/support/ktrace.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/fs/xfs/support/ktrace.c b/fs/xfs/support/ktrace.c index 0ebb872d7da8..841aa4c15b8a 100644 --- a/fs/xfs/support/ktrace.c +++ b/fs/xfs/support/ktrace.c | |||
@@ -50,7 +50,7 @@ ktrace_uninit(void) | |||
50 | * number of entries. | 50 | * number of entries. |
51 | */ | 51 | */ |
52 | ktrace_t * | 52 | ktrace_t * |
53 | ktrace_alloc(int nentries, int sleep) | 53 | ktrace_alloc(int nentries, unsigned int __nocast sleep) |
54 | { | 54 | { |
55 | ktrace_t *ktp; | 55 | ktrace_t *ktp; |
56 | ktrace_entry_t *ktep; | 56 | ktrace_entry_t *ktep; |
diff --git a/fs/xfs/support/ktrace.h b/fs/xfs/support/ktrace.h index 4c5259a8afb4..0d73216287c0 100644 --- a/fs/xfs/support/ktrace.h +++ b/fs/xfs/support/ktrace.h | |||
@@ -52,7 +52,7 @@ typedef struct ktrace_snap { | |||
52 | extern void ktrace_init(int zentries); | 52 | extern void ktrace_init(int zentries); |
53 | extern void ktrace_uninit(void); | 53 | extern void ktrace_uninit(void); |
54 | 54 | ||
55 | extern ktrace_t *ktrace_alloc(int, int); | 55 | extern ktrace_t *ktrace_alloc(int, unsigned int __nocast); |
56 | extern void ktrace_free(ktrace_t *); | 56 | extern void ktrace_free(ktrace_t *); |
57 | 57 | ||
58 | extern void ktrace_enter( | 58 | extern void ktrace_enter( |