From 003c2341ab44ef8e24f5cacf81b1c7f1a63f7886 Mon Sep 17 00:00:00 2001 From: Mathieu Desnoyers Date: Mon, 13 Apr 2020 17:07:06 -0400 Subject: [PATCH] lttng-events.h: remove cpu hotplug compatibility code --- lttng-events.h | 5 ----- 1 file changed, 5 deletions(-) diff --git a/lttng-events.h b/lttng-events.h index 52402198..69775307 100644 --- a/lttng-events.h +++ b/lttng-events.h @@ -156,13 +156,8 @@ union lttng_ctx_value { * lttng_ctx_field because cpu hotplug needs fixed-location addresses. */ struct lttng_perf_counter_field { -#if (LINUX_VERSION_CODE >= KERNEL_VERSION(4,10,0)) struct lttng_cpuhp_node cpuhp_prepare; struct lttng_cpuhp_node cpuhp_online; -#else - struct notifier_block nb; - int hp_enable; -#endif struct perf_event_attr *attr; struct perf_event **e; /* per-cpu array */ }; -- 2.34.1