Commit 911e213e authored by Benjamin Romer's avatar Benjamin Romer Committed by Greg Kroah-Hartman

staging: unisys: fix CamelCase global Poll_jiffies

Fix the name and references:
Poll_jiffies => poll_jiffies
Signed-off-by: default avatarBenjamin Romer <benjamin.romer@unisys.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 56215add
...@@ -48,7 +48,7 @@ ...@@ -48,7 +48,7 @@
* message, we switch back to fast polling mode. * message, we switch back to fast polling mode.
*/ */
#define MIN_IDLE_SECONDS 10 #define MIN_IDLE_SECONDS 10
static ulong Poll_jiffies = POLLJIFFIES_CONTROLVMCHANNEL_FAST; static ulong poll_jiffies = POLLJIFFIES_CONTROLVMCHANNEL_FAST;
static ulong Most_recent_message_jiffies; /* when we got our last static ulong Most_recent_message_jiffies; /* when we got our last
* controlvm message */ * controlvm message */
static inline char * static inline char *
...@@ -1884,17 +1884,15 @@ controlvm_periodic_work(struct work_struct *work) ...@@ -1884,17 +1884,15 @@ controlvm_periodic_work(struct work_struct *work)
* processed our last controlvm message; slow down the * processed our last controlvm message; slow down the
* polling * polling
*/ */
if (Poll_jiffies != POLLJIFFIES_CONTROLVMCHANNEL_SLOW) { if (poll_jiffies != POLLJIFFIES_CONTROLVMCHANNEL_SLOW)
Poll_jiffies = POLLJIFFIES_CONTROLVMCHANNEL_SLOW; poll_jiffies = POLLJIFFIES_CONTROLVMCHANNEL_SLOW;
}
} else { } else {
if (Poll_jiffies != POLLJIFFIES_CONTROLVMCHANNEL_FAST) { if (poll_jiffies != POLLJIFFIES_CONTROLVMCHANNEL_FAST)
Poll_jiffies = POLLJIFFIES_CONTROLVMCHANNEL_FAST; poll_jiffies = POLLJIFFIES_CONTROLVMCHANNEL_FAST;
}
} }
queue_delayed_work(Periodic_controlvm_workqueue, queue_delayed_work(Periodic_controlvm_workqueue,
&Periodic_controlvm_work, Poll_jiffies); &Periodic_controlvm_work, poll_jiffies);
} }
static void static void
...@@ -1996,10 +1994,10 @@ setup_crash_devices_work_queue(struct work_struct *work) ...@@ -1996,10 +1994,10 @@ setup_crash_devices_work_queue(struct work_struct *work)
Away: Away:
Poll_jiffies = POLLJIFFIES_CONTROLVMCHANNEL_SLOW; poll_jiffies = POLLJIFFIES_CONTROLVMCHANNEL_SLOW;
queue_delayed_work(Periodic_controlvm_workqueue, queue_delayed_work(Periodic_controlvm_workqueue,
&Periodic_controlvm_work, Poll_jiffies); &Periodic_controlvm_work, poll_jiffies);
} }
static void static void
...@@ -2265,9 +2263,9 @@ visorchipset_init(void) ...@@ -2265,9 +2263,9 @@ visorchipset_init(void)
goto Away; goto Away;
} }
Most_recent_message_jiffies = jiffies; Most_recent_message_jiffies = jiffies;
Poll_jiffies = POLLJIFFIES_CONTROLVMCHANNEL_FAST; poll_jiffies = POLLJIFFIES_CONTROLVMCHANNEL_FAST;
rc = queue_delayed_work(Periodic_controlvm_workqueue, rc = queue_delayed_work(Periodic_controlvm_workqueue,
&Periodic_controlvm_work, Poll_jiffies); &Periodic_controlvm_work, poll_jiffies);
if (rc < 0) { if (rc < 0) {
POSTCODE_LINUX_2(QUEUE_DELAYED_WORK_PC, POSTCODE_LINUX_2(QUEUE_DELAYED_WORK_PC,
DIAG_SEVERITY_ERR); DIAG_SEVERITY_ERR);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment