projects
/
powerpc.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch 'halasa-hdlc' of git://git.tuxdriver.com/git/netdev-jwl
[powerpc.git]
/
include
/
asm-cris
/
processor.h
diff --git
a/include/asm-cris/processor.h
b/include/asm-cris/processor.h
index
0dc2181
..
dce4100
100644
(file)
--- a/
include/asm-cris/processor.h
+++ b/
include/asm-cris/processor.h
@@
-16,6
+16,8
@@
#include <asm/ptrace.h>
#include <asm/arch/processor.h>
#include <asm/ptrace.h>
#include <asm/arch/processor.h>
+struct task_struct;
+
/* This decides where the kernel will search for a free chunk of vm
* space during mmap's.
*/
/* 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)
#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 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. */
}
{
/* Nothing needs to be done. */
}