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_32.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_32.h')
-rw-r--r-- | arch/x86/include/asm/user_32.h | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/arch/x86/include/asm/user_32.h b/arch/x86/include/asm/user_32.h index d72c3d66e94f..8963915e533f 100644 --- a/arch/x86/include/asm/user_32.h +++ b/arch/x86/include/asm/user_32.h @@ -124,9 +124,5 @@ struct user{ char u_comm[32]; /* User command that was responsible */ int u_debugreg[8]; }; -#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_32_H */ |