Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

Al Viro 0c9dceb9 1e2d8464

-47
-6
arch/alpha/include/asm/user.h
··· 45 45 char u_comm[32]; /* user command name */ 46 46 }; 47 47 48 - #define NBPG PAGE_SIZE 49 - #define UPAGES 1 50 - #define HOST_TEXT_START_ADDR (u.start_code) 51 - #define HOST_DATA_START_ADDR (u.start_data) 52 - #define HOST_STACK_END_ADDR (u.start_stack + u.u_ssize * NBPG) 53 - 54 48 #endif /* _ALPHA_USER_H */
-4
arch/arm/include/asm/user.h
··· 77 77 struct user_fp_struct * u_fp0;/* Used by gdb to help find the values for */ 78 78 /* the FP registers. */ 79 79 }; 80 - #define NBPG PAGE_SIZE 81 - #define UPAGES 1 82 - #define HOST_TEXT_START_ADDR (u.start_code) 83 - #define HOST_STACK_END_ADDR (u.start_stack + u.u_ssize * NBPG) 84 80 85 81 /* 86 82 * User specific VFP registers. If only VFPv2 is present, registers 16 to 31
-4
arch/h8300/include/asm/user.h
··· 67 67 unsigned long magic; /* To uniquely identify a core file */ 68 68 char u_comm[32]; /* User command that was responsible */ 69 69 }; 70 - #define NBPG PAGE_SIZE 71 - #define UPAGES 1 72 - #define HOST_TEXT_START_ADDR (u.start_code) 73 - #define HOST_STACK_END_ADDR (u.start_stack + u.u_ssize * NBPG) 74 70 75 71 #endif
-6
arch/ia64/include/asm/user.h
··· 50 50 char u_comm[32]; /* user command name */ 51 51 }; 52 52 53 - #define NBPG PAGE_SIZE 54 - #define UPAGES 1 55 - #define HOST_TEXT_START_ADDR (u.start_code) 56 - #define HOST_DATA_START_ADDR (u.start_data) 57 - #define HOST_STACK_END_ADDR (u.start_stack + u.u_ssize * NBPG) 58 - 59 53 #endif /* _ASM_IA64_USER_H */
-4
arch/m68k/include/asm/user.h
··· 79 79 unsigned long magic; /* To uniquely identify a core file */ 80 80 char u_comm[32]; /* User command that was responsible */ 81 81 }; 82 - #define NBPG 4096 83 - #define UPAGES 1 84 - #define HOST_TEXT_START_ADDR (u.start_code) 85 - #define HOST_STACK_END_ADDR (u.start_stack + u.u_ssize * NBPG) 86 82 87 83 #endif
-5
arch/powerpc/include/asm/user.h
··· 44 44 char u_comm[32]; /* user command name */ 45 45 }; 46 46 47 - #define NBPG PAGE_SIZE 48 - #define UPAGES 1 49 - #define HOST_TEXT_START_ADDR (u.start_code) 50 - #define HOST_DATA_START_ADDR (u.start_data) 51 - #define HOST_STACK_END_ADDR (u.start_stack + u.u_ssize * NBPG) 52 47 #endif /* _ASM_POWERPC_USER_H */
-4
arch/s390/include/asm/user.h
··· 67 67 unsigned long magic; /* To uniquely identify a core file */ 68 68 char u_comm[32]; /* User command that was responsible */ 69 69 }; 70 - #define NBPG PAGE_SIZE 71 - #define UPAGES 1 72 - #define HOST_TEXT_START_ADDR (u.start_code) 73 - #define HOST_STACK_END_ADDR (u.start_stack + u.u_ssize * NBPG) 74 70 75 71 #endif /* _S390_USER_H */
-6
arch/sh/include/asm/user.h
··· 52 52 char u_comm[32]; /* user command name */ 53 53 }; 54 54 55 - #define NBPG PAGE_SIZE 56 - #define UPAGES 1 57 - #define HOST_TEXT_START_ADDR (u.start_code) 58 - #define HOST_DATA_START_ADDR (u.start_data) 59 - #define HOST_STACK_END_ADDR (u.start_stack + u.u_ssize * NBPG) 60 - 61 55 #endif /* __ASM_SH_USER_H */
-4
arch/x86/include/asm/user_32.h
··· 124 124 char u_comm[32]; /* User command that was responsible */ 125 125 int u_debugreg[8]; 126 126 }; 127 - #define NBPG PAGE_SIZE 128 - #define UPAGES 1 129 - #define HOST_TEXT_START_ADDR (u.start_code) 130 - #define HOST_STACK_END_ADDR (u.start_stack + u.u_ssize * NBPG) 131 127 132 128 #endif /* _ASM_X86_USER_32_H */
-4
arch/x86/include/asm/user_64.h
··· 130 130 unsigned long error_code; /* CPU error code or 0 */ 131 131 unsigned long fault_address; /* CR3 or 0 */ 132 132 }; 133 - #define NBPG PAGE_SIZE 134 - #define UPAGES 1 135 - #define HOST_TEXT_START_ADDR (u.start_code) 136 - #define HOST_STACK_END_ADDR (u.start_stack + u.u_ssize * NBPG) 137 133 138 134 #endif /* _ASM_X86_USER_64_H */