Commit fa61f104 authored by Geert Uytterhoeven's avatar Geert Uytterhoeven Committed by Linus Torvalds

[PATCH] M68k TIF_SYSCALL_TRACE

M68k: add TIF_SYSCALL_TRACE to macros __[sg]et_tsk_thread_flag (from Roman
Zippel)
parent 6f1c8bb5
...@@ -60,6 +60,9 @@ extern int thread_flag_fixme(void); ...@@ -60,6 +60,9 @@ extern int thread_flag_fixme(void);
case TIF_NEED_RESCHED: \ case TIF_NEED_RESCHED: \
tsk->thread.work.need_resched = val; \ tsk->thread.work.need_resched = val; \
break; \ break; \
case TIF_SYSCALL_TRACE: \
tsk->thread.work.syscall_trace = val; \
break; \
default: \ default: \
thread_flag_fixme(); \ thread_flag_fixme(); \
} \ } \
...@@ -74,6 +77,9 @@ extern int thread_flag_fixme(void); ...@@ -74,6 +77,9 @@ extern int thread_flag_fixme(void);
case TIF_NEED_RESCHED: \ case TIF_NEED_RESCHED: \
___res = tsk->thread.work.need_resched; \ ___res = tsk->thread.work.need_resched; \
break; \ break; \
case TIF_SYSCALL_TRACE: \
___res = tsk->thread.work.syscall_trace;\
break; \
default: \ default: \
___res = thread_flag_fixme(); \ ___res = thread_flag_fixme(); \
} \ } \
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment