[PATCH stable/v3.2.x] lib/cobalt: powerpc: Fix build regression
Jan Kiszka <[email protected]>
| Newsgroups | dev.linux.lists.xenomai |
|---|---|
| Message-ID | <[email protected]> |
From: Jan Kiszka <[email protected]> Fixes backport 4e69a2f59b28. Signed-off-by: Jan Kiszka <[email protected]> --- 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 diff --git a/lib/cobalt/arch/powerpc/include/asm/xenomai/debug.h b/lib/cobalt/arch/powerpc/include/asm/xenomai/debug.h new file mode 100644 index 0000000000..ed25b8571b --- /dev/null +++ b/lib/cobalt/arch/powerpc/include/asm/xenomai/debug.h @@ -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 */ -- 2.47.3