Code Review
/
kvmfornfv.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Upgrade to 4.4.50-rt62
[kvmfornfv.git]
/
kernel
/
drivers
/
hv
/
hyperv_vmbus.h
diff --git
a/kernel/drivers/hv/hyperv_vmbus.h
b/kernel/drivers/hv/hyperv_vmbus.h
index
3782636
..
12156db
100644
(file)
--- a/
kernel/drivers/hv/hyperv_vmbus.h
+++ b/
kernel/drivers/hv/hyperv_vmbus.h
@@
-30,6
+30,11
@@
#include <linux/atomic.h>
#include <linux/hyperv.h>
#include <linux/atomic.h>
#include <linux/hyperv.h>
+/*
+ * Timeout for services such as KVP and fcopy.
+ */
+#define HV_UTIL_TIMEOUT 30
+
/*
* The below CPUID leaves are present if VersionAndFeatures.HypervisorPresent
* is set by CPUID(HVCPUID_VERSION_FEATURES).
/*
* The below CPUID leaves are present if VersionAndFeatures.HypervisorPresent
* is set by CPUID(HVCPUID_VERSION_FEATURES).
@@
-759,11
+764,7
@@
static inline void hv_poll_channel(struct vmbus_channel *channel,
if (!channel)
return;
if (!channel)
return;
- if (channel->target_cpu != smp_processor_id())
- smp_call_function_single(channel->target_cpu,
- cb, channel, true);
- else
- cb(channel);
+ smp_call_function_single(channel->target_cpu, cb, channel, true);
}
enum hvutil_device_state {
}
enum hvutil_device_state {