[PATCH] powerpc/vdso: Remove unused clockmode asm offsets

Christophe Leroy christophe.leroy at csgroup.eu
Wed Nov 13 21:20:40 AEDT 2024



Le 13/11/2024 à 09:06, Thomas Weißschuh a écrit :
> These offsets are not used anymore, delete them.
> 
> Fixes: c39b1dcf055d ("powerpc/vdso: Add a page for non-time data")
> Signed-off-by: Thomas Weißschuh <thomas.weissschuh at linutronix.de>

Reviewed-by: Christophe Leroy <christophe.leroy at csgroup.eu>

> ---
> This is based on powerpc/topic/vdso.
> Feel free to fold this change into the original commit.
> ---
>   arch/powerpc/kernel/asm-offsets.c | 2 --
>   1 file changed, 2 deletions(-)
> 
> diff --git a/arch/powerpc/kernel/asm-offsets.c b/arch/powerpc/kernel/asm-offsets.c
> index 7b3feb6bc2103bc89ea14fbaac6937f1c97d4ff8..23733282de4d9f975aa9450b26c1049688e6663e 100644
> --- a/arch/powerpc/kernel/asm-offsets.c
> +++ b/arch/powerpc/kernel/asm-offsets.c
> @@ -346,8 +346,6 @@ int main(void)
>   #else
>   	OFFSET(CFG_SYSCALL_MAP32, vdso_arch_data, syscall_map);
>   #endif
> -	OFFSET(VDSO_CLOCKMODE_OFFSET, vdso_arch_data, data[0].clock_mode);
> -	DEFINE(VDSO_CLOCKMODE_TIMENS, VDSO_CLOCKMODE_TIMENS);
>   
>   #ifdef CONFIG_BUG
>   	DEFINE(BUG_ENTRY_SIZE, sizeof(struct bug_entry));
> 
> ---
> base-commit: 0161bd38c24312853ed5ae9a425a1c41c4ac674a
> change-id: 20241113-vdso-powerpc-asm-offsets-056016f80174
> 
> Best regards,


More information about the Linuxppc-dev mailing list