Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 4b2a021c authored by Rohit Gupta's avatar Rohit Gupta
Browse files

sched: Fix compilation issue for non-SMP targets



Allow the tracepoint sched_preempt_disable to compile for
non-SMP targets.

Change-Id: I017555307b8756cbfe0ee6a29a43ad7026897b78
Signed-off-by: default avatarRohit Gupta <rohgup@codeaurora.org>
parent ada19597
Loading
Loading
Loading
Loading
+4 −3
Original line number Diff line number Diff line
@@ -1372,6 +1372,10 @@ TRACE_EVENT(sched_isolate,
		__entry->time, __entry->isolate)
);

#include "walt.h"

#endif /* CONFIG_SMP */

TRACE_EVENT(sched_preempt_disable,

	TP_PROTO(u64 delta, bool irqs_disabled,
@@ -1404,9 +1408,6 @@ TRACE_EVENT(sched_preempt_disable,
				__entry->caddr2, __entry->caddr3)
);

#include "walt.h"

#endif /* CONFIG_SMP */
#endif /* _TRACE_SCHED_H */

/* This part must be outside protection */