diff options
author | Adrian Bunk <bunk@kernel.org> | 2008-07-24 00:28:50 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2008-07-24 13:47:24 -0400 |
commit | f606ddf42fd4edc558eeb48bfee66d2c591571d2 (patch) | |
tree | 193f00db121201255b2629fce43b99a53c4ec735 /include/asm-v850/processor.h | |
parent | 99764fa4ceeecba8b9e0a8a5565b418a2e94f83b (diff) |
remove the v850 port
Trying to compile the v850 port brings many compile errors, one of them exists
since at least kernel 2.6.19.
There also seems to be noone willing to bring this port back into a usable
state.
This patch therefore removes the v850 port.
If anyone ever decides to revive the v850 port the code will still be
available from older kernels, and it wouldn't be impossible for the port to
reenter the kernel if it would become actively maintained again.
Signed-off-by: Adrian Bunk <bunk@kernel.org>
Acked-by: Greg Ungerer <gerg@uclinux.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'include/asm-v850/processor.h')
-rw-r--r-- | include/asm-v850/processor.h | 120 |
1 files changed, 0 insertions, 120 deletions
diff --git a/include/asm-v850/processor.h b/include/asm-v850/processor.h deleted file mode 100644 index 979e3467f9af..000000000000 --- a/include/asm-v850/processor.h +++ /dev/null | |||
@@ -1,120 +0,0 @@ | |||
1 | /* | ||
2 | * include/asm-v850/processor.h | ||
3 | * | ||
4 | * Copyright (C) 2001,02,03 NEC Electronics Corporation | ||
5 | * Copyright (C) 2001,02,03 Miles Bader <miles@gnu.org> | ||
6 | * | ||
7 | * This file is subject to the terms and conditions of the GNU General | ||
8 | * Public License. See the file COPYING in the main directory of this | ||
9 | * archive for more details. | ||
10 | * | ||
11 | * Written by Miles Bader <miles@gnu.org> | ||
12 | */ | ||
13 | |||
14 | #ifndef __V850_PROCESSOR_H__ | ||
15 | #define __V850_PROCESSOR_H__ | ||
16 | |||
17 | #ifndef __ASSEMBLY__ /* <linux/thread_info.h> is not asm-safe. */ | ||
18 | #include <linux/thread_info.h> | ||
19 | #endif | ||
20 | |||
21 | #include <linux/compiler.h> | ||
22 | #include <asm/ptrace.h> | ||
23 | #include <asm/entry.h> | ||
24 | |||
25 | /* Some code expects `segment' stuff to be defined here. */ | ||
26 | #include <asm/segment.h> | ||
27 | |||
28 | |||
29 | /* | ||
30 | * The only places this is used seem to be horrible bletcherous kludges, | ||
31 | * so we just define it to be as large as possible. | ||
32 | */ | ||
33 | #define TASK_SIZE (0xFFFFFFFF) | ||
34 | |||
35 | /* | ||
36 | * This decides where the kernel will search for a free chunk of vm | ||
37 | * space during mmap's. We won't be using it. | ||
38 | */ | ||
39 | #define TASK_UNMAPPED_BASE 0 | ||
40 | |||
41 | |||
42 | #ifndef __ASSEMBLY__ | ||
43 | |||
44 | |||
45 | /* | ||
46 | * Default implementation of macro that returns current | ||
47 | * instruction pointer ("program counter"). | ||
48 | */ | ||
49 | #define current_text_addr() ({ __label__ _l; _l: &&_l;}) | ||
50 | |||
51 | /* If you change this, you must change the associated assembly-languages | ||
52 | constants defined below, THREAD_*. */ | ||
53 | struct thread_struct { | ||
54 | /* kernel stack pointer (must be first field in structure) */ | ||
55 | unsigned long ksp; | ||
56 | }; | ||
57 | |||
58 | #define INIT_THREAD { sizeof init_stack + (unsigned long)init_stack } | ||
59 | |||
60 | |||
61 | /* Do necessary setup to start up a newly executed thread. */ | ||
62 | static inline void start_thread (struct pt_regs *regs, | ||
63 | unsigned long pc, unsigned long usp) | ||
64 | { | ||
65 | regs->pc = pc; | ||
66 | regs->gpr[GPR_SP] = usp; | ||
67 | regs->kernel_mode = 0; | ||
68 | } | ||
69 | |||
70 | /* Free all resources held by a thread. */ | ||
71 | static inline void release_thread (struct task_struct *dead_task) | ||
72 | { | ||
73 | } | ||
74 | |||
75 | /* Prepare to copy thread state - unlazy all lazy status */ | ||
76 | #define prepare_to_copy(tsk) do { } while (0) | ||
77 | |||
78 | extern int kernel_thread (int (*fn)(void *), void * arg, unsigned long flags); | ||
79 | |||
80 | /* Free current thread data structures etc. */ | ||
81 | static inline void exit_thread (void) | ||
82 | { | ||
83 | } | ||
84 | |||
85 | |||
86 | /* Return the registers saved during context-switch by the currently | ||
87 | not-running thread T. Note that this only includes some registers! | ||
88 | See entry.S for details. */ | ||
89 | #define thread_saved_regs(t) \ | ||
90 | ((struct pt_regs*)((t)->thread.ksp + STATE_SAVE_PT_OFFSET)) | ||
91 | /* Return saved (kernel) PC of a blocked thread. Actually, we return the | ||
92 | LP register, because the thread is actually blocked in switch_thread, | ||
93 | and we're interested in the PC it will _return_ to. */ | ||
94 | #define thread_saved_pc(t) (thread_saved_regs(t)->gpr[GPR_LP]) | ||
95 | |||
96 | |||
97 | unsigned long get_wchan (struct task_struct *p); | ||
98 | |||
99 | |||
100 | /* Return some info about the user process TASK. */ | ||
101 | #define task_tos(task) ((unsigned long)task_stack_page(task) + THREAD_SIZE) | ||
102 | #define task_pt_regs(task) ((struct pt_regs *)task_tos (task) - 1) | ||
103 | #define task_sp(task) (task_pt_regs (task)->gpr[GPR_SP]) | ||
104 | #define task_pc(task) (task_pt_regs (task)->pc) | ||
105 | /* Grotty old names for some. */ | ||
106 | #define KSTK_EIP(task) task_pc (task) | ||
107 | #define KSTK_ESP(task) task_sp (task) | ||
108 | |||
109 | |||
110 | #define cpu_relax() barrier() | ||
111 | |||
112 | |||
113 | #else /* __ASSEMBLY__ */ | ||
114 | |||
115 | #define THREAD_KSP 0 | ||
116 | |||
117 | #endif /* !__ASSEMBLY__ */ | ||
118 | |||
119 | |||
120 | #endif /* __V850_PROCESSOR_H__ */ | ||