lkml.org 
[lkml]   [2014]   [Jan]   [28]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
Subject[tip:core/locking] x86, um: Add generic barrier.h
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

\
 
 \ /
  Last update: 2014-01-28 21:41    [W:0.035 / U:0.640 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site