All of lore.kernel.org
 help / color / mirror / Atom feed
* [tip:core/locking] x86, um: Add generic barrier.h
@ 2014-01-28 19:25 tip-bot for Peter Zijlstra
  2014-01-28 19:30 ` Peter Zijlstra
  0 siblings, 1 reply; 2+ messages in thread
From: tip-bot for Peter Zijlstra @ 2014-01-28 19:25 UTC (permalink / raw)
  To: linux-tip-commits; +Cc: linux-kernel, jdike, hpa, mingo, peterz, richard, tglx

Commit-ID:  673c36745c9f3100672853840b27e27638435e74
Gitweb:     http://git.kernel.org/tip/673c36745c9f3100672853840b27e27638435e74
Author:     Peter Zijlstra <peterz@infradead.org>
AuthorDate: Tue, 28 Jan 2014 15:12:36 +0100
Committer:  Ingo Molnar <mingo@kernel.org>
CommitDate: Tue, 28 Jan 2014 15:27:36 +0100

x86, um: Add generic barrier.h

It appears arch/um doesn't have any asm/barrier.h; cure this by
including the generic one. Since UM is !SMP the defaults are good
enough.

( The motivation are the latest MCS locking patches which use generic
  barriers. )

Signed-off-by: Peter Zijlstra <peterz@infradead.org>
Cc: Jeff Dike <jdike@addtoit.com>
Cc: Richard Weinberger <richard@nod.at>
Link: http://lkml.kernel.org/n/tip-rcmiqb07nyuhtsnmanxlj3il@git.kernel.org
Signed-off-by: Ingo Molnar <mingo@kernel.org>
---
 arch/um/include/asm/Kbuild | 1 +
 1 file changed, 1 insertion(+)

diff --git a/arch/um/include/asm/Kbuild b/arch/um/include/asm/Kbuild
index fdde187..fb3a6cc 100644
--- a/arch/um/include/asm/Kbuild
+++ b/arch/um/include/asm/Kbuild
@@ -4,3 +4,4 @@ generic-y += ftrace.h pci.h io.h param.h delay.h mutex.h current.h exec.h
 generic-y += switch_to.h clkdev.h
 generic-y += trace_clock.h
 generic-y += preempt.h
+generic-y += barrier.h

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

* Re: [tip:core/locking] x86, um: Add generic barrier.h
  2014-01-28 19:25 [tip:core/locking] x86, um: Add generic barrier.h tip-bot for Peter Zijlstra
@ 2014-01-28 19:30 ` Peter Zijlstra
  0 siblings, 0 replies; 2+ messages in thread
From: Peter Zijlstra @ 2014-01-28 19:30 UTC (permalink / raw)
  To: mingo, hpa, jdike, linux-kernel, richard, tglx; +Cc: linux-tip-commits

On Tue, Jan 28, 2014 at 11:25:12AM -0800, tip-bot for Peter Zijlstra wrote:
> Commit-ID:  673c36745c9f3100672853840b27e27638435e74
> Gitweb:     http://git.kernel.org/tip/673c36745c9f3100672853840b27e27638435e74
> Author:     Peter Zijlstra <peterz@infradead.org>
> AuthorDate: Tue, 28 Jan 2014 15:12:36 +0100
> Committer:  Ingo Molnar <mingo@kernel.org>
> CommitDate: Tue, 28 Jan 2014 15:27:36 +0100
> 
> x86, um: Add generic barrier.h
> 
> It appears arch/um doesn't have any asm/barrier.h; cure this by
> including the generic one. Since UM is !SMP the defaults are good
> enough.
> 
> ( The motivation are the latest MCS locking patches which use generic
>   barriers. )
> 
> Signed-off-by: Peter Zijlstra <peterz@infradead.org>
> Cc: Jeff Dike <jdike@addtoit.com>
> Cc: Richard Weinberger <richard@nod.at>

I just talked to rw on IRC and he pointed out that commit 9af2452
(already in Linus' tree) does the same.

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

end of thread, other threads:[~2014-01-28 19:31 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-01-28 19:25 [tip:core/locking] x86, um: Add generic barrier.h tip-bot for Peter Zijlstra
2014-01-28 19:30 ` Peter Zijlstra

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.