[PATCH] alpha: Make thread_info::flags unsigned long.

Sebastian Andrzej Siewior posted 1 patch 1 month, 2 weeks ago
arch/alpha/include/asm/thread_info.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
[PATCH] alpha: Make thread_info::flags unsigned long.
Posted by Sebastian Andrzej Siewior 1 month, 2 weeks ago
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@linutronix.de>
---
 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