Re: [tip:core/locking] x86, um: Add generic barrier.h

From: Peter Zijlstra
Date: Tue Jan 28 2014 - 14:31:17 EST


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@xxxxxxxxxxxxx>
> AuthorDate: Tue, 28 Jan 2014 15:12:36 +0100
> Committer: Ingo Molnar <mingo@xxxxxxxxxx>
> 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@xxxxxxxxxxxxx>
> Cc: Jeff Dike <jdike@xxxxxxxxxxx>
> Cc: Richard Weinberger <richard@xxxxxx>

I just talked to rw on IRC and he pointed out that commit 9af2452
(already in Linus' tree) does the same.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/