]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - arch/ia64/sn/kernel/xpc_partition.c
[IA64] Replace explicit jiffies tests with time_* macros.
[linux-2.6-omap-h63xx.git] / arch / ia64 / sn / kernel / xpc_partition.c
index 7ba403232cb8321516bbbceb0cb8eeb841a467d8..9e97c2684832f6b408b3ca145659dc174edc153f 100644 (file)
@@ -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;
                        }