Re: [PATCH 1/4] s390: remove unwind_module_init()

From: Heiko Carstens

Date: Thu Sep 24 2026 - 08:51:13 EST


On Thu, Sep 24, 2026 at 02:35:50PM +0200, Johannes Berg wrote:
> From: Johannes Berg <johannes.berg@xxxxxxxxx>
>
> This is dead code, but will likely conflict with
> the ORC unwinder unification.
>
> Signed-off-by: Johannes Berg <johannes.berg@xxxxxxxxx>
> ---
> arch/s390/include/asm/unwind.h | 3 ---
> 1 file changed, 3 deletions(-)
>
> diff --git a/arch/s390/include/asm/unwind.h b/arch/s390/include/asm/unwind.h
> index b8ecf04e3468..021056d5982c 100644
> --- a/arch/s390/include/asm/unwind.h
> +++ b/arch/s390/include/asm/unwind.h
> @@ -91,8 +91,5 @@ static inline struct pt_regs *unwind_get_entry_regs(struct unwind_state *state)
> unwind_next_frame(state))
>
> static inline void unwind_init(void) {}
> -static inline void unwind_module_init(struct module *mod, void *orc_ip,
> - size_t orc_ip_size, void *orc,
> - size_t orc_size) {}

This probably went upstream by mistake a couple of years ago.

Acked-by: Heiko Carstens <hca@xxxxxxxxxxxxx>