https://virtuozzo.atlassian.net/browse/VSTOR-130116

Feature: !CONFIG_VE build
Signed-off-by: Vladimir Riabchun <[email protected]>
---
 include/linux/vzstat.h | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/include/linux/vzstat.h b/include/linux/vzstat.h
index 4a5738bd036f..aed334a59f68 100644
--- a/include/linux/vzstat.h
+++ b/include/linux/vzstat.h
@@ -43,6 +43,8 @@ extern spinlock_t kstat_glb_lock;
 
 extern void kstat_init(void);
 
+#define KSTAT_ALLOC_MAX_LAT_PERIOD (120*HZ)
+
 #ifdef CONFIG_VE
 extern void KSTAT_PERF_ADD(struct kstat_perf_pcpu_struct *ptr, u64 real_time,
                           u64 cpu_time);
@@ -58,8 +60,6 @@ extern void KSTAT_PERF_ADD(struct kstat_perf_pcpu_struct 
*ptr, u64 real_time,
        sleep_time = current->se.statistics->sum_sleep_runtime - sleep_time; \
        KSTAT_PERF_ADD(&kstat_glob.name, start, start - sleep_time);
 
-#define KSTAT_ALLOC_MAX_LAT_PERIOD (120*HZ)
-
 static inline u64 get_max_lat(struct kstat_lat_snap_struct *snap)
 {
        int i;
-- 
2.43.0

_______________________________________________
Devel mailing list
[email protected]
https://lists.openvz.org/mailman/listinfo/devel

Reply via email to