diff options
author | Matthew Wilcox <matthew@wil.cx> | 2005-10-26 00:16:02 -0400 |
---|---|---|
committer | James Bottomley <jejb@mulgrave.(none)> | 2005-10-26 23:24:02 -0400 |
commit | f2be34a3f30a1595f5d9c8e7d0bec4d8d3626047 (patch) | |
tree | 0f05f954709c3b15c14118d70828a58e1999fd47 /drivers/scsi/sym53c8xx_defs.h | |
parent | fe607aa94f5d25ee84f9a9a4fdf2cce3765e12e4 (diff) |
[SCSI] ncr53c8xx: Cleanup namespace collision with ktimers
Replace the mcr53c8xx roll your own ktime_... macros with the correct
time_after() et al.
Signed-off-by: Matthew Wilcox <matthew@wil.cx>
Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
Diffstat (limited to 'drivers/scsi/sym53c8xx_defs.h')
-rw-r--r-- | drivers/scsi/sym53c8xx_defs.h | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/drivers/scsi/sym53c8xx_defs.h b/drivers/scsi/sym53c8xx_defs.h index 4c4ae7d4713f..139cd0e12e62 100644 --- a/drivers/scsi/sym53c8xx_defs.h +++ b/drivers/scsi/sym53c8xx_defs.h | |||
@@ -281,19 +281,6 @@ | |||
281 | #endif | 281 | #endif |
282 | 282 | ||
283 | /* | 283 | /* |
284 | ** These simple macros limit expression involving | ||
285 | ** kernel time values (jiffies) to some that have | ||
286 | ** chance not to be too much incorrect. :-) | ||
287 | */ | ||
288 | #define ktime_get(o) (jiffies + (u_long) o) | ||
289 | #define ktime_exp(b) ((long)(jiffies) - (long)(b) >= 0) | ||
290 | #define ktime_dif(a, b) ((long)(a) - (long)(b)) | ||
291 | /* These ones are not used in this driver */ | ||
292 | #define ktime_add(a, o) ((a) + (u_long)(o)) | ||
293 | #define ktime_sub(a, o) ((a) - (u_long)(o)) | ||
294 | |||
295 | |||
296 | /* | ||
297 | * IO functions definition for big/little endian CPU support. | 284 | * IO functions definition for big/little endian CPU support. |
298 | * For now, the NCR is only supported in little endian addressing mode, | 285 | * For now, the NCR is only supported in little endian addressing mode, |
299 | */ | 286 | */ |