OSDN Git Service

x86/entry: Unify definitions from <asm/calling.h> and <asm/ptrace-abi.h>
authorH. Peter Anvin (Intel) <hpa@zytor.com>
Mon, 10 May 2021 18:53:10 +0000 (11:53 -0700)
committerIngo Molnar <mingo@kernel.org>
Wed, 12 May 2021 08:49:13 +0000 (10:49 +0200)
commit6627eb25e40cc8d135d3f8d5391851d18ac497d7
tree35b3aa2b0091f5bf8ccb4a624f42df215b83f453
parenteef23e72b78b36924aea8be5ec7c54e628c442ef
x86/entry: Unify definitions from <asm/calling.h> and <asm/ptrace-abi.h>

The register offsets in <asm/ptrace-abi.h> are duplicated in
entry/calling.h, but are formatted differently and therefore not
compatible. Use the version from <asm/ptrace-abi.h> consistently.

Signed-off-by: H. Peter Anvin (Intel) <hpa@zytor.com>
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Link: https://lore.kernel.org/r/20210510185316.3307264-2-hpa@zytor.com
arch/x86/entry/calling.h
arch/x86/kernel/head_64.S