Skip to contentSkip to conversation

alpha: Make thread_info::flags unsigned long.

PATCH New Sebastian Andrzej Siewior 1 participant 1 message Oct 8, 2024 Alpha port

lore
Share & tools
lore
#0 lore raw

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.

---
 arch/alpha/include/asm/thread_info.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
arch/alpha/include/asm/thread_info.h +1 -1
index 4a4d00b37986e..913e6ddb09d3e 100644
@@ -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