Commit 0c9dceb9 authored by Al Viro's avatar Al Viro
Browse files

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: default avatarAl Viro <viro@zeniv.linux.org.uk>
parent 1e2d8464
Loading
Loading
Loading
Loading
+0 −6
Original line number Diff line number Diff line
@@ -45,10 +45,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 /* _ALPHA_USER_H */
+0 −4
Original line number Diff line number Diff line
@@ -77,10 +77,6 @@ struct user{
  struct user_fp_struct * u_fp0;/* Used by gdb to help find the values for */
  				/* the FP registers. */
};
#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)

/*
 * User specific VFP registers. If only VFPv2 is present, registers 16 to 31
+0 −4
Original line number Diff line number Diff line
@@ -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
+0 −6
Original line number Diff line number Diff line
@@ -50,10 +50,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_IA64_USER_H */
+0 −4
Original line number Diff line number Diff line
@@ -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
Loading