summaryrefslogtreecommitdiffstats
path: root/arch/mips
diff options
context:
space:
mode:
authorLinus Torvalds2019-07-13 00:41:33 +0200
committerLinus Torvalds2019-07-13 00:41:33 +0200
commit5f26f1143678d0fed8115afdcc0de99ee7cc9675 (patch)
tree726136c95d9e517ec53846c0b5ad424c71fa6497 /arch/mips
parentMerge tag 's390-5.3-2' of git://git.kernel.org/pub/scm/linux/kernel/git/s390/... (diff)
parentasm-generic: remove ptrace.h (diff)
downloadkernel-qcow2-linux-5f26f1143678d0fed8115afdcc0de99ee7cc9675.tar.gz
kernel-qcow2-linux-5f26f1143678d0fed8115afdcc0de99ee7cc9675.tar.xz
kernel-qcow2-linux-5f26f1143678d0fed8115afdcc0de99ee7cc9675.zip
Merge tag 'asm-generic-5.3' of git://git.kernel.org/pub/scm/linux/kernel/git/arnd/asm-generic
Pull asm-generic updates from Arnd Bergmann: "The asm-generic changes for 5.3 consist of a cleanup series to remove ptrace.h from Christoph Hellwig, who explains: 'asm-generic/ptrace.h is a little weird in that it doesn't actually implement any functionality, but it provided multiple layers of macros that just implement trivial inline functions. We implement those directly in the few architectures and be off with a much simpler design.' at https://lore.kernel.org/lkml/20190624054728.30966-1-hch@lst.de/" * tag 'asm-generic-5.3' of git://git.kernel.org/pub/scm/linux/kernel/git/arnd/asm-generic: asm-generic: remove ptrace.h x86: don't use asm-generic/ptrace.h sh: don't use asm-generic/ptrace.h powerpc: don't use asm-generic/ptrace.h arm64: don't use asm-generic/ptrace.h
Diffstat (limited to 'arch/mips')
-rw-r--r--arch/mips/include/asm/ptrace.h5
1 files changed, 0 insertions, 5 deletions
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)
{