]> git.baikalelectronics.ru Git - kernel.git/commit
x86: don't use asm-generic/ptrace.h
authorChristoph Hellwig <hch@lst.de>
Mon, 24 Jun 2019 05:47:27 +0000 (07:47 +0200)
committerArnd Bergmann <arnd@arndb.de>
Mon, 1 Jul 2019 15:51:40 +0000 (17:51 +0200)
commit79f2562c326e0731f9c9f089d47c89399ad732e2
treeef141a6a1fcc5d4d96d09dd6ababc24f39208f3d
parent045bd00f3ef08e934af058bf41979061e2a05cf2
x86: don't use asm-generic/ptrace.h

Doing the indirection through macros for the regs accessors just
makes them harder to read, so implement the helpers directly.

Note that only the helpers actually used are implemented now.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Acked-by: Ingo Molnar <mingo@kernel.org>
Acked-by: Oleg Nesterov <oleg@redhat.com>
Reviewed-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
arch/x86/include/asm/ptrace.h