[<prev] [next>] [day] [month] [year] [list]
Message-ID: <20241008135745.Ndzf7UIa@linutronix.de>
Date: Tue, 8 Oct 2024 15:57:45 +0200
From: Sebastian Andrzej Siewior <bigeasy@...utronix.de>
To: linux-kernel@...r.kernel.org, linux-alpha@...r.kernel.org
Cc: Ingo Molnar <mingo@...hat.com>,
Ivan Kokshaysky <ink@...assic.park.msu.ru>,
Matt Turner <mattst88@...il.com>,
Peter Zijlstra <peterz@...radead.org>,
Richard Henderson <richard.henderson@...aro.org>,
Thomas Gleixner <tglx@...utronix.de>
Subject: [PATCH] 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 <bigeasy@...utronix.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
Powered by blists - more mailing lists