From 5941c91dfd18932b232da791dc3e1c37929e9497 Mon Sep 17 00:00:00 2001 From: Mathieu Desnoyers Date: Mon, 13 Apr 2020 17:07:40 -0400 Subject: [PATCH] lttng-cpuhotplug.h: remove cpu hotplug compatibility code --- lttng-cpuhotplug.h | 4 ---- 1 file changed, 4 deletions(-) diff --git a/lttng-cpuhotplug.h b/lttng-cpuhotplug.h index 4e25b39f..0de6f88f 100644 --- a/lttng-cpuhotplug.h +++ b/lttng-cpuhotplug.h @@ -10,8 +10,6 @@ struct lttng_cpuhp_node; -#if (LINUX_VERSION_CODE >= KERNEL_VERSION(4,10,0)) - #include enum lttng_cpuhp_component { @@ -47,6 +45,4 @@ void lttng_rb_set_hp_online(enum cpuhp_state val); extern enum cpuhp_state lttng_rb_hp_prepare; extern enum cpuhp_state lttng_rb_hp_online; -#endif - #endif /* LTTNG_CPUHOTPLUG_H */ -- 2.34.1