diff options
author | Ralf Baechle <ralf@linux-mips.org> | 2008-07-15 13:44:30 -0400 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2008-07-15 13:44:30 -0400 |
commit | 2957c9e61ee9c37e7ebf2c8acab03e073fe942fd (patch) | |
tree | 50b4baea3b130ed3e1ef95a9c0f2d2761dd88693 /include/asm-mips | |
parent | 997288517ec839b7639fcba77111256b13a66000 (diff) |
[MIPS] IRIX: Goodbye and thanks for all the fish
Never terribly functional or popular, plagued by hard to fix bugs the time
to say goodbye has more than arrived.
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'include/asm-mips')
-rw-r--r-- | include/asm-mips/inventory.h | 24 | ||||
-rw-r--r-- | include/asm-mips/namei.h | 25 | ||||
-rw-r--r-- | include/asm-mips/prctl.h | 41 | ||||
-rw-r--r-- | include/asm-mips/signal.h | 3 |
4 files changed, 5 insertions, 88 deletions
diff --git a/include/asm-mips/inventory.h b/include/asm-mips/inventory.h deleted file mode 100644 index cc88aed23f0f..000000000000 --- a/include/asm-mips/inventory.h +++ /dev/null | |||
@@ -1,24 +0,0 @@ | |||
1 | /* | ||
2 | * Miguel de Icaza | ||
3 | */ | ||
4 | #ifndef __ASM_INVENTORY_H | ||
5 | #define __ASM_INVENTORY_H | ||
6 | |||
7 | #include <linux/compiler.h> | ||
8 | |||
9 | typedef struct inventory_s { | ||
10 | struct inventory_s *inv_next; | ||
11 | int inv_class; | ||
12 | int inv_type; | ||
13 | int inv_controller; | ||
14 | int inv_unit; | ||
15 | int inv_state; | ||
16 | } inventory_t; | ||
17 | |||
18 | extern int inventory_items; | ||
19 | |||
20 | extern void add_to_inventory(int class, int type, int controller, int unit, int state); | ||
21 | extern int dump_inventory_to_user(void __user *userbuf, int size); | ||
22 | extern int __init init_inventory(void); | ||
23 | |||
24 | #endif /* __ASM_INVENTORY_H */ | ||
diff --git a/include/asm-mips/namei.h b/include/asm-mips/namei.h index c94d12d1f868..a6605a752469 100644 --- a/include/asm-mips/namei.h +++ b/include/asm-mips/namei.h | |||
@@ -1,26 +1,11 @@ | |||
1 | #ifndef _ASM_NAMEI_H | 1 | #ifndef _ASM_NAMEI_H |
2 | #define _ASM_NAMEI_H | 2 | #define _ASM_NAMEI_H |
3 | 3 | ||
4 | #include <linux/personality.h> | 4 | /* |
5 | #include <linux/stddef.h> | 5 | * This dummy routine maybe changed to something useful |
6 | * for /usr/gnemul/ emulation stuff. | ||
7 | */ | ||
6 | 8 | ||
7 | #define IRIX_EMUL "/usr/gnemul/irix/" | 9 | #define __emul_prefix() NULL |
8 | #define RISCOS_EMUL "/usr/gnemul/riscos/" | ||
9 | |||
10 | static inline char *__emul_prefix(void) | ||
11 | { | ||
12 | switch (current->personality) { | ||
13 | case PER_IRIX32: | ||
14 | case PER_IRIXN32: | ||
15 | case PER_IRIX64: | ||
16 | return IRIX_EMUL; | ||
17 | |||
18 | case PER_RISCOS: | ||
19 | return RISCOS_EMUL; | ||
20 | |||
21 | default: | ||
22 | return NULL; | ||
23 | } | ||
24 | } | ||
25 | 10 | ||
26 | #endif /* _ASM_NAMEI_H */ | 11 | #endif /* _ASM_NAMEI_H */ |
diff --git a/include/asm-mips/prctl.h b/include/asm-mips/prctl.h deleted file mode 100644 index 8121a9a75bfd..000000000000 --- a/include/asm-mips/prctl.h +++ /dev/null | |||
@@ -1,41 +0,0 @@ | |||
1 | /* | ||
2 | * IRIX prctl interface | ||
3 | * | ||
4 | * The IRIX kernel maps a page at PRDA_ADDRESS with the | ||
5 | * contents of prda and fills it the bits on prda_sys. | ||
6 | */ | ||
7 | |||
8 | #ifndef __PRCTL_H__ | ||
9 | #define __PRCTL_H__ | ||
10 | |||
11 | #define PRDA_ADDRESS 0x200000L | ||
12 | #define PRDA ((struct prda *) PRDA_ADDRESS) | ||
13 | |||
14 | struct prda_sys { | ||
15 | pid_t t_pid; | ||
16 | u32 t_hint; | ||
17 | u32 t_dlactseq; | ||
18 | u32 t_fpflags; | ||
19 | u32 t_prid; /* processor type, $prid CP0 register */ | ||
20 | u32 t_dlendseq; | ||
21 | u64 t_unused1[5]; | ||
22 | pid_t t_rpid; | ||
23 | s32 t_resched; | ||
24 | u32 t_unused[8]; | ||
25 | u32 t_cpu; /* current/last cpu */ | ||
26 | |||
27 | /* FIXME: The signal information, not supported by Linux now */ | ||
28 | u32 t_flags; /* if true, then the sigprocmask is in userspace */ | ||
29 | u32 t_sigprocmask [1]; /* the sigprocmask */ | ||
30 | }; | ||
31 | |||
32 | struct prda { | ||
33 | char fill [0xe00]; | ||
34 | struct prda_sys prda_sys; | ||
35 | }; | ||
36 | |||
37 | #define t_sys prda_sys | ||
38 | |||
39 | ptrdiff_t prctl(int op, int v1, int v2); | ||
40 | |||
41 | #endif | ||
diff --git a/include/asm-mips/signal.h b/include/asm-mips/signal.h index 7a28989f7ee3..bee5153aca48 100644 --- a/include/asm-mips/signal.h +++ b/include/asm-mips/signal.h | |||
@@ -119,9 +119,6 @@ struct sigaction { | |||
119 | 119 | ||
120 | struct k_sigaction { | 120 | struct k_sigaction { |
121 | struct sigaction sa; | 121 | struct sigaction sa; |
122 | #ifdef CONFIG_BINFMT_IRIX | ||
123 | void (*sa_restorer)(void); | ||
124 | #endif | ||
125 | }; | 122 | }; |
126 | 123 | ||
127 | /* IRIX compatible stack_t */ | 124 | /* IRIX compatible stack_t */ |