Skip to contentSkip to conversation

Cleanup: comment about CONFIG_HOTPLUG_CPU ifdef

PATCH Mathieu Desnoyers 1 participant 1 message Mar 13, 2018 1 message not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

Mathieu Desnoyers

author Applied
#1 lore raw

Merged into master, 2.9, 2.10,

Thanks!

Mathieu

Quoted 31 lines · ----- On Mar 13, 2018, at 12:14 PM, Michael Jeanson [email protected] wrote:

---
lttng-events.c | 4 ++--

1 file changed, 2 insertions(+), 2 deletions(-)
lttng-events.c +0 -1
index 2cd650f..6098ce4 100644
@@ -2760,7 +2760,7 @@ static void __exit lttng_exit_cpu_hotplug(void)
 	cpuhp_remove_multi_state(lttng_hp_prepare);
 }
 
-#else /* #if (CONFIG_HOTPLUG_CPU && (LINUX_VERSION_CODE >=

KERNEL_VERSION(4,10,0))) */
+#else /* #if (LINUX_VERSION_CODE >= KERNEL_VERSION(4,10,0)) */ static int lttng_init_cpu_hotplug(void)

{
	return 0;
lttng-events.c +0 -1
@@ -2768,7 +2768,7 @@ static int lttng_init_cpu_hotplug(void)
 static void lttng_exit_cpu_hotplug(void)
 {
 }
-#endif /* #else #if (CONFIG_HOTPLUG_CPU && (LINUX_VERSION_CODE >=

KERNEL_VERSION(4,10,0))) */
+#endif /* #else #if (LINUX_VERSION_CODE >= KERNEL_VERSION(4,10,0)) */

static int __init lttng_events_init(void)
--
2.7.4

Signature · 7 lines
Mathieu Desnoyers
EfficiOS Inc.
http://www.efficios.com
_______________________________________________
lttng-dev mailing list
[email protected]
https://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev