linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] arm64: Define _TIF_POLLING_NRFLAG
@ 2014-05-09 11:57 Mark Brown
  2014-05-09 14:03 ` Peter Zijlstra
  0 siblings, 1 reply; 3+ messages in thread
From: Mark Brown @ 2014-05-09 11:57 UTC (permalink / raw)
  To: linux-arm-kernel

From: Mark Brown <broonie@linaro.org>

arm64 defines TIF_POLLING_NRFLAG but not the corresponding shifted version,
breaking the build with next-20140509 due to fd99f91aa007b (sched/idle:
Avoid spurious wakeup IPIs) which added a reference to the shifted version
which is present on most arches.

Signed-off-by: Mark Brown <broonie@linaro.org>
---
 arch/arm64/include/asm/thread_info.h | 1 +
 1 file changed, 1 insertion(+)

diff --git a/arch/arm64/include/asm/thread_info.h b/arch/arm64/include/asm/thread_info.h
index 720e70b66ffd..40ff87437734 100644
--- a/arch/arm64/include/asm/thread_info.h
+++ b/arch/arm64/include/asm/thread_info.h
@@ -113,6 +113,7 @@ static inline struct thread_info *current_thread_info(void)
 #define _TIF_NEED_RESCHED	(1 << TIF_NEED_RESCHED)
 #define _TIF_NOTIFY_RESUME	(1 << TIF_NOTIFY_RESUME)
 #define _TIF_32BIT		(1 << TIF_32BIT)
+#define _TIF_POLLING_NRFLAG	(1 << TIF_POLLING_NRFLAG)
 
 #define _TIF_WORK_MASK		(_TIF_NEED_RESCHED | _TIF_SIGPENDING | \
 				 _TIF_NOTIFY_RESUME)
-- 
2.0.0.rc2

^ permalink raw reply related	[flat|nested] 3+ messages in thread

* [PATCH] arm64: Define _TIF_POLLING_NRFLAG
  2014-05-09 11:57 [PATCH] arm64: Define _TIF_POLLING_NRFLAG Mark Brown
@ 2014-05-09 14:03 ` Peter Zijlstra
  2014-05-09 14:46   ` Catalin Marinas
  0 siblings, 1 reply; 3+ messages in thread
From: Peter Zijlstra @ 2014-05-09 14:03 UTC (permalink / raw)
  To: linux-arm-kernel

On Fri, May 09, 2014 at 12:57:45PM +0100, Mark Brown wrote:
> From: Mark Brown <broonie@linaro.org>
> 
> arm64 defines TIF_POLLING_NRFLAG but not the corresponding shifted version,
> breaking the build with next-20140509 due to fd99f91aa007b (sched/idle:
> Avoid spurious wakeup IPIs) which added a reference to the shifted version
> which is present on most arches.

Sorry about that,

Acked-by: Peter Zijlstra <peterz@infradead.org>

Should I get it in -tip so borkage and fix come in through the same
tree, or what's the preferred routing?

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [PATCH] arm64: Define _TIF_POLLING_NRFLAG
  2014-05-09 14:03 ` Peter Zijlstra
@ 2014-05-09 14:46   ` Catalin Marinas
  0 siblings, 0 replies; 3+ messages in thread
From: Catalin Marinas @ 2014-05-09 14:46 UTC (permalink / raw)
  To: linux-arm-kernel

On Fri, May 09, 2014 at 03:03:16PM +0100, Peter Zijlstra wrote:
> On Fri, May 09, 2014 at 12:57:45PM +0100, Mark Brown wrote:
> > From: Mark Brown <broonie@linaro.org>
> > 
> > arm64 defines TIF_POLLING_NRFLAG but not the corresponding shifted version,
> > breaking the build with next-20140509 due to fd99f91aa007b (sched/idle:
> > Avoid spurious wakeup IPIs) which added a reference to the shifted version
> > which is present on most arches.
> 
> Sorry about that,
> 
> Acked-by: Peter Zijlstra <peterz@infradead.org>

I replied already in another thread. I don't think we need this bit at
all.

> Should I get it in -tip so borkage and fix come in through the same
> tree, or what's the preferred routing?

Whatever it's easier for you.

-- 
Catalin

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2014-05-09 14:46 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-05-09 11:57 [PATCH] arm64: Define _TIF_POLLING_NRFLAG Mark Brown
2014-05-09 14:03 ` Peter Zijlstra
2014-05-09 14:46   ` Catalin Marinas

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).