diff options
author | Robert P. J. Day <rpjday@crashcourse.ca> | 2008-03-29 10:05:30 -0400 |
---|---|---|
committer | Tony Luck <tony.luck@intel.com> | 2008-04-09 10:28:10 -0700 |
commit | d167cb85150bd473a27df71e3116a9cc0008f5dd (patch) | |
tree | 6cd0c3c4c388e0f47ea177c2124766a17223123d /arch/ia64/sn/kernel/xpc_partition.c | |
parent | 6794c7526651160a75e90322cb750dcceb310d34 (diff) |
[IA64] Replace explicit jiffies tests with time_* macros.
In arch/ia64/sn/kernel/xpc_{main,partition}.c
Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca>
Signed-off-by: Tony Luck <tony.luck@intel.com>
Diffstat (limited to 'arch/ia64/sn/kernel/xpc_partition.c')
-rw-r--r-- | arch/ia64/sn/kernel/xpc_partition.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/ia64/sn/kernel/xpc_partition.c b/arch/ia64/sn/kernel/xpc_partition.c index 7ba403232cb..9e97c268483 100644 --- a/arch/ia64/sn/kernel/xpc_partition.c +++ b/arch/ia64/sn/kernel/xpc_partition.c @@ -877,7 +877,7 @@ xpc_partition_disengaged(struct xpc_partition *part) disengaged = (xpc_partition_engaged(1UL << partid) == 0); if (part->disengage_request_timeout) { if (!disengaged) { - if (jiffies < part->disengage_request_timeout) { + if (time_before(jiffies, part->disengage_request_timeout)) { /* timelimit hasn't been reached yet */ return 0; } |