From: Mathieu Desnoyers Date: Mon, 13 Apr 2020 21:07:40 +0000 (-0400) Subject: lttng-cpuhotplug.h: remove cpu hotplug compatibility code X-Git-Tag: for-upstreaming-review-1~13 X-Git-Url: http://git.liburcu.org/?p=lttng-modules.git;a=commitdiff_plain;h=5941c91dfd18932b232da791dc3e1c37929e9497 lttng-cpuhotplug.h: remove cpu hotplug compatibility code --- 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 */