[PATCH] m68k: convert thread flags to use bit fields
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>
Showing
- arch/m68k/fpsp040/skeleton.S 2 additions, 4 deletionsarch/m68k/fpsp040/skeleton.S
- arch/m68k/ifpsp060/iskeleton.S 2 additions, 4 deletionsarch/m68k/ifpsp060/iskeleton.S
- arch/m68k/kernel/asm-offsets.c 0 additions, 5 deletionsarch/m68k/kernel/asm-offsets.c
- arch/m68k/kernel/entry.S 40 additions, 38 deletionsarch/m68k/kernel/entry.S
- arch/m68k/kernel/ptrace.c 6 additions, 9 deletionsarch/m68k/kernel/ptrace.c
- include/asm-m68k/processor.h 0 additions, 12 deletionsinclude/asm-m68k/processor.h
- include/asm-m68k/thread_info.h 9 additions, 72 deletionsinclude/asm-m68k/thread_info.h
- include/linux/thread_info.h 13 additions, 34 deletionsinclude/linux/thread_info.h
Loading
Please register or sign in to comment