[Devel] [PATCH RH8 01/10] vzstat: drop double KSTAT_LAT_PCPU_UPDATE declaration

Andrey Zhadchenko andrey.zhadchenko at virtuozzo.com
Wed May 26 17:56:09 MSK 2021


From: Konstantin Khorenko <khorenko at virtuozzo.com>

Fixes: a258c15f2c33 ("vzstat: initial patch")

Signed-off-by: Konstantin Khorenko <khorenko at virtuozzo.com>

(cherry-picked from 8242e706656b658ecea691cc3495898e7c5e5478)
Signed-off-by: Andrey Zhadchenko <andrey.zhadchenko at virtuozzo.com>

diff --git a/include/linux/vzstat.h b/include/linux/vzstat.h
index a6077e5..9cddf63 100644
--- a/include/linux/vzstat.h
+++ b/include/linux/vzstat.h
@@ -86,7 +86,6 @@ static inline u64 get_max_lat(struct kstat_lat_snap_struct *snap)
 #define KSTAT_PERF_LEAVE(name)
 #define KSTAT_LAT_PCPU_ADD(p, dur)
 #define KSTAT_LAT_PCPU_UPDATE(p)
-#define KSTAT_LAT_PCPU_UPDATE(p)
 #endif /* CONFIG_VE */
 
 
-- 
1.8.3.1



More information about the Devel mailing list