summary refs log tree commit diff
path: root/arch/m68k
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/m68k
parent1e2d84644d1ce754d48c58a6184e1dd9ab573f0c (diff)
downloadlinux-0c9dceb9bb6dadbf340f09c69e598d4729bbb86a.tar.gz
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/m68k')
-rw-r--r--arch/m68k/include/asm/user.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/arch/m68k/include/asm/user.h b/arch/m68k/include/asm/user.h
index 509d555977c8..61413bff613a 100644
--- a/arch/m68k/include/asm/user.h
+++ b/arch/m68k/include/asm/user.h
@@ -79,9 +79,5 @@ struct user{
   unsigned long magic;		/* To uniquely identify a core file */
   char u_comm[32];		/* User command that was responsible */
 };
-#define NBPG 4096
-#define UPAGES 1
-#define HOST_TEXT_START_ADDR (u.start_code)
-#define HOST_STACK_END_ADDR (u.start_stack + u.u_ssize * NBPG)
 
 #endif