aboutsummaryrefslogtreecommitdiffstats
path: root/arch/s390/include/asm/user.h
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2022-01-04 13:59:47 -0500
committerAl Viro <viro@zeniv.linux.org.uk>2022-01-30 21:17:00 -0500
commit0c9dceb9bb6dadbf340f09c69e598d4729bbb86a (patch)
treed6bdfbb3f6430b2641bfeaad594ff0864bfe6bf3 /arch/s390/include/asm/user.h
parent1e2d84644d1ce754d48c58a6184e1dd9ab573f0c (diff)
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/s390/include/asm/user.h')
-rw-r--r--arch/s390/include/asm/user.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/arch/s390/include/asm/user.h b/arch/s390/include/asm/user.h
index 0ca572ced21b..8e8aaf48582e 100644
--- a/arch/s390/include/asm/user.h
+++ b/arch/s390/include/asm/user.h
@@ -67,9 +67,5 @@ struct user {
unsigned long magic; /* To uniquely identify a core file */
char u_comm[32]; /* User command that was responsible */
};
-#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 /* _S390_USER_H */

Privacy Policy