sparc atomicity patches reverted
The sparc64 one doesn't even compile, please fix this up and resubmit, thank you. I'd like you to redo the 32-bit sparc patch too.
Please, I recommend that you use {sec,clear,etc.}_ti_thread_flag() in this and the 32-bit sparc TI_USEDFPU patch, instead of the task versions which could add an unnecessary pointer dereference to go from tsk to the thread_info.
It is likely that had you used the thread based flag helpers from the start, you would not have created this build failure.
Thanks again.
--------------------arch/sparc64/kernel/process.c: In function $,1rx(Bflush_thread$,1ry(B:arch/sparc64/kernel/process.c:416: error: $,1rx(Btsk$,1ry(B undeclared (first use in this function) arch/sparc64/kernel/process.c:416: error: (Each undeclared identifier is reported only once arch/sparc64/kernel/process.c:416: error: for each function it appears in.)
--------------------
arch/sparc64/kernel/process.c +7 -2
@@ -413,8 +413,13 @@ void flush_thread(void)struct thread_info *t =current_thread_info ();struct mm_struct *mm; -if (t->flags & _TIF_ABI_PENDING) - t->flags ^= (_TIF_ABI_PENDING | _TIF_32BIT); +if (test_tsk_thread_flag (tsk,TIF_ABI_PENDING )) { +clear_tsk_thread_flag (tsk,TIF_ABI_PENDING ); +if (test_tsk_thread_flag (tsk,TIF_32BIT )) +clear_tsk_thread_flag (tsk,TIF_32BIT ); +else +set_tsk_thread_flag (tsk,TIF_32BIT ); + } mm = t->task->mm;if (mm)
Signature · 1 line
1.5.0