X-Git-Url: http://git.rot13.org/?a=blobdiff_plain;f=include%2Fasm-cris%2Fprocessor.h;h=dce41009eeb086a17811c7e1095709672ddedac4;hb=f1b8c63ef404367c60dc9b4f68dec33cae3c707b;hp=0dc218117bd83df881c93c51942e75d8a49e11a3;hpb=62778ba1aa2589dc78c36a32edc6f5a6ccaf50c6;p=powerpc.git diff --git a/include/asm-cris/processor.h b/include/asm-cris/processor.h index 0dc218117b..dce41009ee 100644 --- a/include/asm-cris/processor.h +++ b/include/asm-cris/processor.h @@ -16,6 +16,8 @@ #include #include +struct task_struct; + /* This decides where the kernel will search for a free chunk of vm * space during mmap's. */ @@ -45,7 +47,7 @@ #define current_regs() user_regs(current->thread_info) -extern inline void prepare_to_copy(struct task_struct *tsk) +static inline void prepare_to_copy(struct task_struct *tsk) { } @@ -58,7 +60,7 @@ unsigned long get_wchan(struct task_struct *p); extern unsigned long thread_saved_pc(struct task_struct *tsk); /* Free all resources held by a thread. */ -extern inline void release_thread(struct task_struct *dead_task) +static inline void release_thread(struct task_struct *dead_task) { /* Nothing needs to be done. */ }