* [PATCH] powerpc/qspinlock: Fix 32-bit build
@ 2022-12-08 12:32 Nicholas Piggin
2022-12-13 0:41 ` Michael Ellerman
0 siblings, 1 reply; 2+ messages in thread
From: Nicholas Piggin @ 2022-12-08 12:32 UTC (permalink / raw)
To: linuxppc-dev; +Cc: kernel test robot, Nicholas Piggin
Some 32-bit configurations don't pull in the spin_begin/end/relax
definitions. Fix is to restore a lost include.
Reported-by: kernel test robot <lkp@intel.com>
Link: https://lore.kernel.org/oe-kbuild-all/202212050224.i7uh9fOh-lkp@intel.com
Fixes: 84990b169557 ("powerpc/qspinlock: add mcs queueing for contended waiters")
Signed-off-by: Nicholas Piggin <npiggin@gmail.com>
---
arch/powerpc/lib/qspinlock.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/arch/powerpc/lib/qspinlock.c b/arch/powerpc/lib/qspinlock.c
index 2eab84774911..c81fe8fff2b2 100644
--- a/arch/powerpc/lib/qspinlock.c
+++ b/arch/powerpc/lib/qspinlock.c
@@ -3,6 +3,7 @@
#include <linux/compiler.h>
#include <linux/export.h>
#include <linux/percpu.h>
+#include <linux/processor.h>
#include <linux/smp.h>
#include <linux/topology.h>
#include <linux/sched/clock.h>
--
2.37.2
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] powerpc/qspinlock: Fix 32-bit build
2022-12-08 12:32 [PATCH] powerpc/qspinlock: Fix 32-bit build Nicholas Piggin
@ 2022-12-13 0:41 ` Michael Ellerman
0 siblings, 0 replies; 2+ messages in thread
From: Michael Ellerman @ 2022-12-13 0:41 UTC (permalink / raw)
To: Nicholas Piggin, linuxppc-dev; +Cc: kernel test robot
On Thu, 8 Dec 2022 22:32:25 +1000, Nicholas Piggin wrote:
> Some 32-bit configurations don't pull in the spin_begin/end/relax
> definitions. Fix is to restore a lost include.
>
>
Applied to powerpc/next.
[1/1] powerpc/qspinlock: Fix 32-bit build
https://git.kernel.org/powerpc/c/13959373e9c9021cc80730c7bd1242e07b10b328
cheers
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2022-12-13 0:42 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-12-08 12:32 [PATCH] powerpc/qspinlock: Fix 32-bit build Nicholas Piggin
2022-12-13 0:41 ` Michael Ellerman
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).