diff options
Diffstat (limited to 'include/asm-cris/processor.h')
-rw-r--r-- | include/asm-cris/processor.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/include/asm-cris/processor.h b/include/asm-cris/processor.h index 0dc218117bd8..dce41009eeb0 100644 --- a/include/asm-cris/processor.h +++ b/include/asm-cris/processor.h | |||
@@ -16,6 +16,8 @@ | |||
16 | #include <asm/ptrace.h> | 16 | #include <asm/ptrace.h> |
17 | #include <asm/arch/processor.h> | 17 | #include <asm/arch/processor.h> |
18 | 18 | ||
19 | struct task_struct; | ||
20 | |||
19 | /* This decides where the kernel will search for a free chunk of vm | 21 | /* This decides where the kernel will search for a free chunk of vm |
20 | * space during mmap's. | 22 | * space during mmap's. |
21 | */ | 23 | */ |
@@ -45,7 +47,7 @@ | |||
45 | 47 | ||
46 | #define current_regs() user_regs(current->thread_info) | 48 | #define current_regs() user_regs(current->thread_info) |
47 | 49 | ||
48 | extern inline void prepare_to_copy(struct task_struct *tsk) | 50 | static inline void prepare_to_copy(struct task_struct *tsk) |
49 | { | 51 | { |
50 | } | 52 | } |
51 | 53 | ||
@@ -58,7 +60,7 @@ unsigned long get_wchan(struct task_struct *p); | |||
58 | extern unsigned long thread_saved_pc(struct task_struct *tsk); | 60 | extern unsigned long thread_saved_pc(struct task_struct *tsk); |
59 | 61 | ||
60 | /* Free all resources held by a thread. */ | 62 | /* Free all resources held by a thread. */ |
61 | extern inline void release_thread(struct task_struct *dead_task) | 63 | static inline void release_thread(struct task_struct *dead_task) |
62 | { | 64 | { |
63 | /* Nothing needs to be done. */ | 65 | /* Nothing needs to be done. */ |
64 | } | 66 | } |