[PATCH] alpha: Make thread_info::flags unsigned long.
From: Sebastian Andrzej Siewior
Date: Tue Oct 08 2024 - 09:58:07 EST
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 <bigeasy@xxxxxxxxxxxxx>
---
arch/alpha/include/asm/thread_info.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/alpha/include/asm/thread_info.h b/arch/alpha/include/asm/thread_info.h
index 4a4d00b37986e..913e6ddb09d3e 100644
--- a/arch/alpha/include/asm/thread_info.h
+++ b/arch/alpha/include/asm/thread_info.h
@@ -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 */
--
2.45.2