Skip to contentSkip to conversation

lib/cobalt: powerpc: Fix build regression

PATCH New Jan Kiszka 1 participant 1 message Apr 23

lore
Share & tools
lore

Jan Kiszka

author
#0 lore raw

PATCH 1/1 lib/cobalt: powerpc: Fix build regression

From: Jan Kiszka <[email protected]>

Fixes backport 4e69a2f59b28.

---

Another backport fix-up for 3.2.

 .../arch/powerpc/include/asm/xenomai/debug.h   | 18 ++++++++++++++++++
 1 file changed, 18 insertions(+)
 create mode 100644 lib/cobalt/arch/powerpc/include/asm/xenomai/debug.h
lib/cobalt/arch/powerpc/include/asm/xenomai/debug.h new file +18 -0
new file mode 100644
index 0000000000..ed25b8571b
@@ -0,0 +1,18 @@
+/*
+ * Copyright (c) Siemens, 2026
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License as published by the Free Software Foundation; either
+ * version 2 of the License, or (at your option) any later version.
+ */
+
+#ifndef _LIB_COBALT_POWERPC_DEBUG_H
+#define _LIB_COBALT_POWERPC_DEBUG_H
+
+static inline int cobalt_avoid_backtrace(int reason)
+{
+	return 0;
+}
+
+#endif /* !_LIB_COBALT_POWERPC_DEBUG_H */
Signature · 1 line
2.47.3