Re: [PATCH v2 2/3] unwind_user/fp: Use dummies instead of ifdef
From: Ingo Molnar <mingo@kernel.org>
Date: 2025-12-01 20:30:32
Also in:
lkml
From: Ingo Molnar <mingo@kernel.org>
Date: 2025-12-01 20:30:32
Also in:
lkml
* Jens Remus [off-list ref] wrote:
-#ifndef ARCH_INIT_USER_FP_FRAME - #define ARCH_INIT_USER_FP_FRAME +#ifndef CONFIG_HAVE_UNWIND_USER_FP + +#define ARCH_INIT_USER_FP_FRAME(ws) + +#endif /* !CONFIG_HAVE_UNWIND_USER_FP */
Just a nit, there's no need for the closing /* !.. */ comment for such a short CPP block - just like it's done in the next couple of lines:
+#ifndef ARCH_INIT_USER_FP_ENTRY_FRAME +#define ARCH_INIT_USER_FP_ENTRY_FRAME(ws) +#endif
Thanks, Ingo