summaryrefslogtreecommitdiff
path: root/include/linux/thread_info.h
AgeCommit message (Collapse)Author
2005-11-13[PATCH] m68k: convert thread flags to use bit fieldsRoman Zippel
Remove task_work structure, use the standard thread flags functions and use shifts in entry.S to test the thread flags. Add a few local labels to entry.S to allow gas to generate short jumps. Finally it changes a number of inline functions in thread_info.h to macros to delay the current_thread_info() usage, which requires on m68k a structure (task_struct) not yet defined at this point. Signed-off-by: Roman Zippel <zippel@linux-m68k.org> Cc: Al Viro <viro@parcelfarce.linux.theplanet.co.uk> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2003-03-17[PATCH] posix timers updateAndrew Morton
Patch from george anzinger <george@mvista.com> Fix the "large sleep returns EINVAL" problem, and clean a few things up.
2002-12-05Add "restart" system call, allowing system calls to restart after signalLinus Torvalds
handling. Update x86 to use the new infrastructure.
2002-04-15[PATCH] #include <asm/bitops.h> -> #include <linux/bitops.h>Hirofumi Ogawa
We have to include linux/bitops.h for arch using generic_xxx(). The following patch changes <asm/bitops.h> of include/linux/* to <linux/bitops.h>.
2002-02-07[PATCH] thread information blockDavid Howells
The first fix changes get_wchan() and the second one fixed what DaveM noticed.
2002-02-06[PATCH] thread information blockDavid Howells
syscall latency improvement * There's now an asm/thread_info.h header file with the basic structure def and asm offsets in it. * There's now a linux/thread_info.h header file which includes the asm version and wraps some bitops calls to make convenience functions for accessing the low-level flags. * The task_struct has had some fields removed (and some flags), and has acquired a pointer to the thread_info struct. * task_struct's are now allocated on slabs in kernel/fork.c, whereas thread_info structs are allocated at the bottom of the stack pages. * Some more convenience functions are provided at the end of linux/sched.h to access flags in other tasks (these are here because they need to access the task_struct).