From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755662AbaA1TbK (ORCPT ); Tue, 28 Jan 2014 14:31:10 -0500 Received: from merlin.infradead.org ([205.233.59.134]:34903 "EHLO merlin.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755571AbaA1TbI (ORCPT ); Tue, 28 Jan 2014 14:31:08 -0500 Date: Tue, 28 Jan 2014 20:30:57 +0100 From: Peter Zijlstra To: mingo@kernel.org, hpa@zytor.com, jdike@addtoit.com, linux-kernel@vger.kernel.org, richard@nod.at, tglx@linutronix.de Cc: linux-tip-commits@vger.kernel.org Subject: Re: [tip:core/locking] x86, um: Add generic barrier.h Message-ID: <20140128193057.GG11314@laptop.programming.kicks-ass.net> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.21 (2012-12-30) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 > AuthorDate: Tue, 28 Jan 2014 15:12:36 +0100 > Committer: Ingo Molnar > 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 > Cc: Jeff Dike > Cc: Richard Weinberger I just talked to rw on IRC and he pointed out that commit 9af2452 (already in Linus' tree) does the same.