* [PATCH] alpha: Make thread_info::flags unsigned long.
@ 2024-10-08 13:57 Sebastian Andrzej Siewior
0 siblings, 0 replies; only message in thread
From: Sebastian Andrzej Siewior @ 2024-10-08 13:57 UTC (permalink / raw)
To: linux-kernel, linux-alpha
Cc: Ingo Molnar, Ivan Kokshaysky, Matt Turner, Peter Zijlstra,
Richard Henderson, Thomas Gleixner
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
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2024-10-08 13:57 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-10-08 13:57 [PATCH] alpha: Make thread_info::flags unsigned long Sebastian Andrzej Siewior
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®