aboutsummaryrefslogtreecommitdiffstats
path: root/arch/sh/include/asm
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/sh/include/asm
parentconstify struct path argument of finish_automount()/do_add_mount() (diff)
downloadlinux-dev-0c9dceb9bb6dadbf340f09c69e598d4729bbb86a.tar.xz
linux-dev-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/sh/include/asm')
-rw-r--r--arch/sh/include/asm/user.h6
1 files changed, 0 insertions, 6 deletions
diff --git a/arch/sh/include/asm/user.h b/arch/sh/include/asm/user.h
index 7dfd3f6461e6..12ea0f3f4419 100644
--- a/arch/sh/include/asm/user.h
+++ b/arch/sh/include/asm/user.h
@@ -52,10 +52,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_SH_USER_H */