forked from Minki/linux
staging: unisys: fix CamelCase global Most_recent_message_jiffies
Fix the CamelCase global variable in visorchipset_main.c: Most_recent_message_jiffies => most_recent_message_jiffies Update all references to use the corrected name. Signed-off-by: Benjamin Romer <benjamin.romer@unisys.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
53049d3315
commit
b53e0e93b7
@ -49,7 +49,7 @@
|
|||||||
*/
|
*/
|
||||||
#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 *
|
||||||
NONULLSTR(char *s)
|
NONULLSTR(char *s)
|
||||||
@ -1856,7 +1856,7 @@ controlvm_periodic_work(struct work_struct *work)
|
|||||||
|
|
||||||
handle_command_failed = FALSE;
|
handle_command_failed = FALSE;
|
||||||
while (gotACommand && (!handle_command_failed)) {
|
while (gotACommand && (!handle_command_failed)) {
|
||||||
Most_recent_message_jiffies = jiffies;
|
most_recent_message_jiffies = jiffies;
|
||||||
if (handle_command(inmsg,
|
if (handle_command(inmsg,
|
||||||
visorchannel_get_physaddr
|
visorchannel_get_physaddr
|
||||||
(ControlVm_channel)))
|
(ControlVm_channel)))
|
||||||
@ -1880,7 +1880,7 @@ controlvm_periodic_work(struct work_struct *work)
|
|||||||
Away:
|
Away:
|
||||||
|
|
||||||
if (time_after(jiffies,
|
if (time_after(jiffies,
|
||||||
Most_recent_message_jiffies + (HZ * MIN_IDLE_SECONDS))) {
|
most_recent_message_jiffies + (HZ * MIN_IDLE_SECONDS))) {
|
||||||
/* it's been longer than MIN_IDLE_SECONDS since we
|
/* it's been longer than MIN_IDLE_SECONDS since we
|
||||||
* processed our last controlvm message; slow down the
|
* processed our last controlvm message; slow down the
|
||||||
* polling
|
* polling
|
||||||
@ -2263,7 +2263,7 @@ visorchipset_init(void)
|
|||||||
rc = -ENOMEM;
|
rc = -ENOMEM;
|
||||||
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);
|
||||||
|
Loading…
Reference in New Issue
Block a user