summaryrefslogtreecommitdiffstats
path: root/arch/powerpc
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/powerpc
parent1e2d84644d1ce754d48c58a6184e1dd9ab573f0c (diff)
downloadlinux-0c9dceb9bb6dadbf340f09c69e598d4729bbb86a.tar.gz
linux-0c9dceb9bb6dadbf340f09c69e598d4729bbb86a.tar.bz2
linux-0c9dceb9bb6dadbf340f09c69e598d4729bbb86a.zip
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/powerpc')
-rw-r--r--arch/powerpc/include/asm/user.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/arch/powerpc/include/asm/user.h b/arch/powerpc/include/asm/user.h
index 99443b8594e7..7fae7e597ba4 100644
--- a/arch/powerpc/include/asm/user.h
+++ b/arch/powerpc/include/asm/user.h
@@ -44,9 +44,4 @@ struct user {
char u_comm[32]; /* user command name */
};
-#define NBPG PAGE_SIZE
-#define UPAGES 1
-#define HOST_TEXT_START_ADDR (u.start_code)
-#define HOST_DATA_START_ADDR (u.start_data)
-#define HOST_STACK_END_ADDR (u.start_stack + u.u_ssize * NBPG)
#endif /* _ASM_POWERPC_USER_H */