projects
/
cascardo
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Clarify naming of thread info/stack allocators
[cascardo/linux.git]
/
arch
/
ia64
/
include
/
asm
/
thread_info.h
diff --git
a/arch/ia64/include/asm/thread_info.h
b/arch/ia64/include/asm/thread_info.h
index
aa995b6
..
d1212b8
100644
(file)
--- a/
arch/ia64/include/asm/thread_info.h
+++ b/
arch/ia64/include/asm/thread_info.h
@@
-48,15
+48,15
@@
struct thread_info {
#ifndef ASM_OFFSETS_C
/* how to get the thread information struct from C */
#define current_thread_info() ((struct thread_info *) ((char *) current + IA64_TASK_SIZE))
#ifndef ASM_OFFSETS_C
/* how to get the thread information struct from C */
#define current_thread_info() ((struct thread_info *) ((char *) current + IA64_TASK_SIZE))
-#define alloc_thread_
info_node(tsk, node)
\
- ((
struct thread_info
*) ((char *) (tsk) + IA64_TASK_SIZE))
+#define alloc_thread_
stack_node(tsk, node)
\
+ ((
unsigned long
*) ((char *) (tsk) + IA64_TASK_SIZE))
#define task_thread_info(tsk) ((struct thread_info *) ((char *) (tsk) + IA64_TASK_SIZE))
#else
#define current_thread_info() ((struct thread_info *) 0)
#define task_thread_info(tsk) ((struct thread_info *) ((char *) (tsk) + IA64_TASK_SIZE))
#else
#define current_thread_info() ((struct thread_info *) 0)
-#define alloc_thread_
info_node(tsk, node) ((struct thread_info
*) 0)
+#define alloc_thread_
stack_node(tsk, node) ((unsigned long
*) 0)
#define task_thread_info(tsk) ((struct thread_info *) 0)
#endif
#define task_thread_info(tsk) ((struct thread_info *) 0)
#endif
-#define free_thread_
info(ti)
/* nothing */
+#define free_thread_
stack(ti)
/* nothing */
#define task_stack_page(tsk) ((void *)(tsk))
#define __HAVE_THREAD_FUNCTIONS
#define task_stack_page(tsk) ((void *)(tsk))
#define __HAVE_THREAD_FUNCTIONS