mirror of
https://gitee.com/bianbu-linux/linux-6.6
synced 2025-04-24 14:07:52 -04:00
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>
This commit is contained in:
parent
1e2d84644d
commit
0c9dceb9bb
10 changed files with 0 additions and 47 deletions
|
@ -45,10 +45,4 @@ struct user {
|
||||||
char u_comm[32]; /* user command name */
|
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 */
|
#endif /* _ALPHA_USER_H */
|
||||||
|
|
|
@ -77,10 +77,6 @@ struct user{
|
||||||
struct user_fp_struct * u_fp0;/* Used by gdb to help find the values for */
|
struct user_fp_struct * u_fp0;/* Used by gdb to help find the values for */
|
||||||
/* the FP registers. */
|
/* 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
|
* User specific VFP registers. If only VFPv2 is present, registers 16 to 31
|
||||||
|
|
|
@ -67,9 +67,5 @@ struct user {
|
||||||
unsigned long magic; /* To uniquely identify a core file */
|
unsigned long magic; /* To uniquely identify a core file */
|
||||||
char u_comm[32]; /* User command that was responsible */
|
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
|
#endif
|
||||||
|
|
|
@ -50,10 +50,4 @@ struct user {
|
||||||
char u_comm[32]; /* user command name */
|
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 */
|
#endif /* _ASM_IA64_USER_H */
|
||||||
|
|
|
@ -79,9 +79,5 @@ struct user{
|
||||||
unsigned long magic; /* To uniquely identify a core file */
|
unsigned long magic; /* To uniquely identify a core file */
|
||||||
char u_comm[32]; /* User command that was responsible */
|
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
|
#endif
|
||||||
|
|
|
@ -44,9 +44,4 @@ struct user {
|
||||||
char u_comm[32]; /* user command name */
|
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 */
|
#endif /* _ASM_POWERPC_USER_H */
|
||||||
|
|
|
@ -67,9 +67,5 @@ struct user {
|
||||||
unsigned long magic; /* To uniquely identify a core file */
|
unsigned long magic; /* To uniquely identify a core file */
|
||||||
char u_comm[32]; /* User command that was responsible */
|
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 */
|
#endif /* _S390_USER_H */
|
||||||
|
|
|
@ -52,10 +52,4 @@ struct user {
|
||||||
char u_comm[32]; /* user command name */
|
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 */
|
#endif /* __ASM_SH_USER_H */
|
||||||
|
|
|
@ -124,9 +124,5 @@ struct user{
|
||||||
char u_comm[32]; /* User command that was responsible */
|
char u_comm[32]; /* User command that was responsible */
|
||||||
int u_debugreg[8];
|
int u_debugreg[8];
|
||||||
};
|
};
|
||||||
#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 /* _ASM_X86_USER_32_H */
|
#endif /* _ASM_X86_USER_32_H */
|
||||||
|
|
|
@ -130,9 +130,5 @@ struct user {
|
||||||
unsigned long error_code; /* CPU error code or 0 */
|
unsigned long error_code; /* CPU error code or 0 */
|
||||||
unsigned long fault_address; /* CR3 or 0 */
|
unsigned long fault_address; /* CR3 or 0 */
|
||||||
};
|
};
|
||||||
#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 /* _ASM_X86_USER_64_H */
|
#endif /* _ASM_X86_USER_64_H */
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue