Update README.md for supported kernel
[lttng-modules.git] / lib / ringbuffer / backend_types.h
index c443b644d1a3fab23c313aa65b28822479baf5b9..3766d8bdac90e16b3317c8a713fc2d036454733e 100644 (file)
@@ -1,4 +1,4 @@
-/* SPDX-License-Identifier: (GPL-2.0 OR LGPL-2.1)
+/* SPDX-License-Identifier: (GPL-2.0-only OR LGPL-2.1-only)
  *
  * lib/ringbuffer/backend_types.h
  *
@@ -86,11 +86,7 @@ struct channel_backend {
        void *priv;                     /* Client-specific information */
        void *priv_ops;                 /* Client-specific ops pointer */
        void (*release_priv_ops)(void *priv_ops);
-#if (LINUX_VERSION_CODE >= KERNEL_VERSION(4,10,0))
        struct lttng_cpuhp_node cpuhp_prepare;  /* CPU hotplug prepare */
-#else
-       struct notifier_block cpu_hp_notifier;   /* CPU hotplug notifier */
-#endif
        /*
         * We need to copy config because the module containing the
         * source config can vanish before the last reference to this
This page took 0.02355 seconds and 4 git commands to generate.