diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2022-01-04 21:59:47 +0300 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2022-01-31 05:17:00 +0300 |
commit | 0c9dceb9bb6dadbf340f09c69e598d4729bbb86a (patch) | |
tree | d6bdfbb3f6430b2641bfeaad594ff0864bfe6bf3 /arch/x86/include/asm/user_64.h | |
parent | 1e2d84644d1ce754d48c58a6184e1dd9ab573f0c (diff) | |
download | linux-0c9dceb9bb6dadbf340f09c69e598d4729bbb86a.tar.xz |
asm/user.h: killed unused macros
Some of them used to be used by libbfd for a.out coredump handling.
Seeing that
* libbfd has their copies anyway
* we don't export them into userland headers
* we don't support a.out coredumps anymore
let's bury the definitions. They never had in-kernel
users anyway...
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'arch/x86/include/asm/user_64.h')
-rw-r--r-- | arch/x86/include/asm/user_64.h | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/arch/x86/include/asm/user_64.h b/arch/x86/include/asm/user_64.h index db909923611c..1dd10f07ccd6 100644 --- a/arch/x86/include/asm/user_64.h +++ b/arch/x86/include/asm/user_64.h @@ -130,9 +130,5 @@ struct user { unsigned long error_code; /* CPU error code or 0 */ unsigned long fault_address; /* CR3 or 0 */ }; -#define NBPG PAGE_SIZE -#define UPAGES 1 -#define HOST_TEXT_START_ADDR (u.start_code) -#define HOST_STACK_END_ADDR (u.start_stack + u.u_ssize * NBPG) #endif /* _ASM_X86_USER_64_H */ |