Gitweb:     
http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=1a7d2dce4169ed42310926a5675fffd0986caa26
Commit:     1a7d2dce4169ed42310926a5675fffd0986caa26
Parent:     5851bb893e5bb87150817c180ccddcf4e78db1b6
Author:     Anton Blanchard <[EMAIL PROTECTED]>
AuthorDate: Mon Oct 15 00:49:07 2007 -0500
Committer:  Roland Dreier <[EMAIL PROTECTED]>
CommitDate: Fri Jan 25 14:15:41 2008 -0800

    IB/ehca: Use round_jiffies() for EQ polling timer
    
    Use round_jiffies() to align ehca's 1-second timer with other timers
    and potentially save power by sleeping cores for longer.
    
    Signed-off-by: Anton Blanchard <[EMAIL PROTECTED]>
    Acked-by: Hoang-Nam Nguyen <[EMAIL PROTECTED]>
    Signed-off-by: Roland Dreier <[EMAIL PROTECTED]>
---
 drivers/infiniband/hw/ehca/ehca_main.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/drivers/infiniband/hw/ehca/ehca_main.c 
b/drivers/infiniband/hw/ehca/ehca_main.c
index c9e32b4..173d3e9 100644
--- a/drivers/infiniband/hw/ehca/ehca_main.c
+++ b/drivers/infiniband/hw/ehca/ehca_main.c
@@ -934,7 +934,7 @@ void ehca_poll_eqs(unsigned long data)
                                ehca_process_eq(shca, 0);
                }
        }
-       mod_timer(&poll_eqs_timer, jiffies + HZ);
+       mod_timer(&poll_eqs_timer, round_jiffies(jiffies + HZ));
        spin_unlock(&shca_list_lock);
 }
 
-
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to