alpha: Make thread_info::flags unsigned long.
PATCH 1/1 alpha: Make thread_info::flags unsigned long.
The users of thread_info::flags such as test_and_set_ti_thread_flag() expect 'flags' to be an unsigned long but alpha is defining an unsigned int here.
Make thread_info::flags unsigned long.
Signed-off-by Sebastian Andrzej Siewior <[email protected]>
--- arch/alpha/include/asm/thread_info.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
arch/alpha/include/asm/thread_info.h +1 -1
@@ -16,7 +16,7 @@ struct thread_info {struct pcb_struct pcb;/* palcode state */ struct task_struct *task;/* main task structure */ -unsigned int flags;/* low level flags */ +unsigned long flags;/* low level flags */ unsigned int ieee_state;/* see fpu.h */ unsigned cpu;/* current CPU */
Signature · 1 line
2.45.2