The patch titled
     jiffies_round -> jiffies_round_relative conversion - ipw2100/ipw2200
has been added to the -mm tree.  Its filename is
     jiffies_round-jiffies_round_relative-conversion.patch

*** Remember to use Documentation/SubmitChecklist when testing your code ***

See http://www.zip.com.au/~akpm/linux/patches/stuff/added-to-mm.txt to find
out what to do about this

------------------------------------------------------
Subject: jiffies_round -> jiffies_round_relative conversion - ipw2100/ipw2200
From: Anton Blanchard <[EMAIL PROTECTED]>

When rounding a relative timeout we need to use round_jiffies_relative().

Signed-off-by: Anton Blanchard <[EMAIL PROTECTED]>
Cc: "John W. Linville" <[EMAIL PROTECTED]>
Acked-by: Arjan van de Ven <[EMAIL PROTECTED]>
Acked-by: Zhu Yi <[EMAIL PROTECTED]>
Signed-off-by: Andrew Morton <[EMAIL PROTECTED]>
---

 drivers/net/wireless/ipw2100.c |    9 +++++----
 drivers/net/wireless/ipw2200.c |    6 +++---
 2 files changed, 8 insertions(+), 7 deletions(-)

diff -puN 
drivers/net/wireless/ipw2100.c~jiffies_round-jiffies_round_relative-conversion 
drivers/net/wireless/ipw2100.c
--- 
a/drivers/net/wireless/ipw2100.c~jiffies_round-jiffies_round_relative-conversion
+++ a/drivers/net/wireless/ipw2100.c
@@ -1769,7 +1769,7 @@ static int ipw2100_up(struct ipw2100_pri
                if (priv->stop_rf_kill) {
                        priv->stop_rf_kill = 0;
                        queue_delayed_work(priv->workqueue, &priv->rf_kill,
-                                          round_jiffies(HZ));
+                                          round_jiffies_relative(HZ));
                }
 
                deferred = 1;
@@ -2086,7 +2086,8 @@ static void isr_indicate_rf_kill(struct 
        /* Make sure the RF Kill check timer is running */
        priv->stop_rf_kill = 0;
        cancel_delayed_work(&priv->rf_kill);
-       queue_delayed_work(priv->workqueue, &priv->rf_kill, round_jiffies(HZ));
+       queue_delayed_work(priv->workqueue, &priv->rf_kill,
+                          round_jiffies_relative(HZ));
 }
 
 static void send_scan_event(void *data)
@@ -4242,7 +4243,7 @@ static int ipw_radio_kill_sw(struct ipw2
                        priv->stop_rf_kill = 0;
                        cancel_delayed_work(&priv->rf_kill);
                        queue_delayed_work(priv->workqueue, &priv->rf_kill,
-                                          round_jiffies(HZ));
+                                          round_jiffies_relative(HZ));
                } else
                        schedule_reset(priv);
        }
@@ -5981,7 +5982,7 @@ static void ipw2100_rf_kill(struct work_
                IPW_DEBUG_RF_KILL("RF Kill active, rescheduling GPIO check\n");
                if (!priv->stop_rf_kill)
                        queue_delayed_work(priv->workqueue, &priv->rf_kill,
-                                          round_jiffies(HZ));
+                                          round_jiffies_relative(HZ));
                goto exit_unlock;
        }
 
diff -puN 
drivers/net/wireless/ipw2200.c~jiffies_round-jiffies_round_relative-conversion 
drivers/net/wireless/ipw2200.c
--- 
a/drivers/net/wireless/ipw2200.c~jiffies_round-jiffies_round_relative-conversion
+++ a/drivers/net/wireless/ipw2200.c
@@ -1753,7 +1753,7 @@ static int ipw_radio_kill_sw(struct ipw_
                        /* Make sure the RF_KILL check timer is running */
                        cancel_delayed_work(&priv->rf_kill);
                        queue_delayed_work(priv->workqueue, &priv->rf_kill,
-                                          round_jiffies(2 * HZ));
+                                          round_jiffies_relative(2 * HZ));
                } else
                        queue_work(priv->workqueue, &priv->up);
        }
@@ -4364,7 +4364,7 @@ static void handle_scan_event(struct ipw
        if (!priv->user_requested_scan) {
                if (!delayed_work_pending(&priv->scan_event))
                        queue_delayed_work(priv->workqueue, &priv->scan_event,
-                                        round_jiffies(msecs_to_jiffies(4000)));
+                                        
round_jiffies_relative(msecs_to_jiffies(4000)));
        } else {
                union iwreq_data wrqu;
 
@@ -4728,7 +4728,7 @@ static void ipw_rx_notification(struct i
                                 && priv->status & STATUS_ASSOCIATED)
                                queue_delayed_work(priv->workqueue,
                                                   &priv->request_scan,
-                                                  round_jiffies(HZ));
+                                                  round_jiffies_relative(HZ));
 
                        /* Send an empty event to user space.
                         * We don't send the received data on the event because
_

Patches currently in -mm which might be from [EMAIL PROTECTED] are

origin.patch
git-infiniband.patch
jiffies_round-jiffies_round_relative-conversion.patch
jiffies_round-jiffies_round_relative-conversion-rt2x00.patch
jiffies_round-jiffies_round_relative-conversion-b43-b43legacy.patch
drivers-edac-use-round_jiffies_relative.patch
jiffies_round-jiffies_round_relative-conversion-in-edac.patch

-
To unsubscribe from this list: send the line "unsubscribe mm-commits" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to