Re: [PATCH 5/5] asm-generic: remove ptrace.h
From: Paul Burton
Date: Mon Jun 24 2019 - 16:34:04 EST
On Mon, Jun 24, 2019 at 07:47:28AM +0200, Christoph Hellwig wrote:
> No one is using this header anymore.
>
> Signed-off-by: Christoph Hellwig <hch@xxxxxx>
> Acked-by: Arnd Bergmann <arnd@xxxxxxxx>
> Acked-by: Oleg Nesterov <oleg@xxxxxxxxxx>
> ---
> MAINTAINERS | 1 -
> arch/mips/include/asm/ptrace.h | 5 ---
> include/asm-generic/ptrace.h | 73 ----------------------------------
> 3 files changed, 79 deletions(-)
> delete mode 100644 include/asm-generic/ptrace.h
FWIW:
Acked-by: Paul Burton <paul.burton@xxxxxxxx>
Thanks,
Paul
> diff --git a/arch/mips/include/asm/ptrace.h b/arch/mips/include/asm/ptrace.h
> index b6578611dddb..1e76774b36dd 100644
> --- a/arch/mips/include/asm/ptrace.h
> +++ b/arch/mips/include/asm/ptrace.h
> @@ -56,11 +56,6 @@ static inline unsigned long kernel_stack_pointer(struct pt_regs *regs)
> return regs->regs[31];
> }
>
> -/*
> - * Don't use asm-generic/ptrace.h it defines FP accessors that don't make
> - * sense on MIPS. We rather want an error if they get invoked.
> - */
> -
> static inline void instruction_pointer_set(struct pt_regs *regs,
> unsigned long val)
> {