From 139624ad0f7c778aaac776646aca6449f154198e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=2E=C3=87a=C4=9Flar=20Onur?= Date: Mon, 17 Mar 2008 20:36:26 +1100 Subject: [PATCH] --- yaml --- r: 91442 b: refs/heads/master c: 59861bc6ee475542c66f4b24b9f5b5148f1d4f0e h: refs/heads/master v: v3 --- [refs] | 2 +- trunk/arch/powerpc/platforms/iseries/pci.c | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/[refs] b/[refs] index ad91fad3cab8..d842146d26d6 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 96366a8d3f17ee964802378d4a1f51fda86f070e +refs/heads/master: 59861bc6ee475542c66f4b24b9f5b5148f1d4f0e diff --git a/trunk/arch/powerpc/platforms/iseries/pci.c b/trunk/arch/powerpc/platforms/iseries/pci.c index cc562e4c2f32..02a634faedbe 100644 --- a/trunk/arch/powerpc/platforms/iseries/pci.c +++ b/trunk/arch/powerpc/platforms/iseries/pci.c @@ -23,6 +23,7 @@ #undef DEBUG +#include #include #include #include @@ -586,7 +587,7 @@ static inline struct device_node *xlate_iomm_address( static unsigned long last_jiffies; static int num_printed; - if ((jiffies - last_jiffies) > 60 * HZ) { + if (time_after(jiffies, last_jiffies + 60 * HZ)) { last_jiffies = jiffies; num_printed = 0; }