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/current.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/current.h')
-rw-r--r-- | include/asm-v850/current.h | 47 |
1 files changed, 0 insertions, 47 deletions
diff --git a/include/asm-v850/current.h b/include/asm-v850/current.h deleted file mode 100644 index 30aae5673770..000000000000 --- a/include/asm-v850/current.h +++ /dev/null | |||
@@ -1,47 +0,0 @@ | |||
1 | /* | ||
2 | * include/asm-v850/current.h -- Current task | ||
3 | * | ||
4 | * Copyright (C) 2001,02 NEC Corporation | ||
5 | * Copyright (C) 2001,02 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_CURRENT_H__ | ||
15 | #define __V850_CURRENT_H__ | ||
16 | |||
17 | #ifndef __ASSEMBLY__ /* <linux/thread_info.h> is not asm-safe. */ | ||
18 | #include <linux/thread_info.h> | ||
19 | #endif | ||
20 | |||
21 | #include <asm/macrology.h> | ||
22 | |||
23 | |||
24 | /* Register used to hold the current task pointer while in the kernel. | ||
25 | Any `call clobbered' register without a special meaning should be OK, | ||
26 | but check asm/v850/kernel/entry.S to be sure. */ | ||
27 | #define CURRENT_TASK_REGNUM 16 | ||
28 | #define CURRENT_TASK macrology_paste (r, CURRENT_TASK_REGNUM) | ||
29 | |||
30 | |||
31 | #ifdef __ASSEMBLY__ | ||
32 | |||
33 | /* Put a pointer to the current task structure into REG. */ | ||
34 | #define GET_CURRENT_TASK(reg) \ | ||
35 | GET_CURRENT_THREAD(reg); \ | ||
36 | ld.w TI_TASK[reg], reg | ||
37 | |||
38 | #else /* !__ASSEMBLY__ */ | ||
39 | |||
40 | /* A pointer to the current task. */ | ||
41 | register struct task_struct *current \ | ||
42 | __asm__ (macrology_stringify (CURRENT_TASK)); | ||
43 | |||
44 | #endif /* __ASSEMBLY__ */ | ||
45 | |||
46 | |||
47 | #endif /* _V850_CURRENT_H */ | ||