]> git.ipfire.org Git - thirdparty/kernel/stable-queue.git/commitdiff
3.14-stable patches
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 19 Oct 2015 20:09:18 +0000 (13:09 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 19 Oct 2015 20:09:18 +0000 (13:09 -0700)
added patches:
arc-hexagon-delete-asm-barrier.h.patch

queue-3.14/arc-hexagon-delete-asm-barrier.h.patch [new file with mode: 0644]
queue-3.14/series

diff --git a/queue-3.14/arc-hexagon-delete-asm-barrier.h.patch b/queue-3.14/arc-hexagon-delete-asm-barrier.h.patch
new file mode 100644 (file)
index 0000000..15ed09c
--- /dev/null
@@ -0,0 +1,67 @@
+From 2ab08ee9f0a4eba27c7c4ce0b6d5118e8a18554b Mon Sep 17 00:00:00 2001
+From: Peter Zijlstra <peterz@infradead.org>
+Date: Thu, 6 Feb 2014 14:26:10 +0100
+Subject: arc,hexagon: Delete asm/barrier.h
+
+From: Peter Zijlstra <peterz@infradead.org>
+
+commit 2ab08ee9f0a4eba27c7c4ce0b6d5118e8a18554b upstream.
+
+Both already use asm-generic/barrier.h as per their
+include/asm/Kbuild. Remove the stale files.
+
+Signed-off-by: Peter Zijlstra <peterz@infradead.org>
+Acked-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
+Link: http://lkml.kernel.org/n/tip-c7vlkshl3tblim0o8z2p70kt@git.kernel.org
+Cc: Linus Torvalds <torvalds@linux-foundation.org>
+Cc: Richard Kuo <rkuo@codeaurora.org>
+Cc: Vineet Gupta <vgupta@synopsys.com>
+Cc: linux-hexagon@vger.kernel.org
+Cc: linux-kernel@vger.kernel.org
+Signed-off-by: Ingo Molnar <mingo@kernel.org>
+Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
+
+---
+ arch/hexagon/include/asm/barrier.h |   37 -------------------------------------
+ 1 file changed, 37 deletions(-)
+
+--- a/arch/hexagon/include/asm/barrier.h
++++ /dev/null
+@@ -1,37 +0,0 @@
+-/*
+- * Memory barrier definitions for the Hexagon architecture
+- *
+- * Copyright (c) 2010-2011, The Linux Foundation. All rights reserved.
+- *
+- * This program is free software; you can redistribute it and/or modify
+- * it under the terms of the GNU General Public License version 2 and
+- * only version 2 as published by the Free Software Foundation.
+- *
+- * This program is distributed in the hope that it will be useful,
+- * but WITHOUT ANY WARRANTY; without even the implied warranty of
+- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+- * GNU General Public License for more details.
+- *
+- * You should have received a copy of the GNU General Public License
+- * along with this program; if not, write to the Free Software
+- * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
+- * 02110-1301, USA.
+- */
+-
+-#ifndef _ASM_BARRIER_H
+-#define _ASM_BARRIER_H
+-
+-#define rmb()                         barrier()
+-#define read_barrier_depends()                barrier()
+-#define wmb()                         barrier()
+-#define mb()                          barrier()
+-#define smp_rmb()                     barrier()
+-#define smp_read_barrier_depends()    barrier()
+-#define smp_wmb()                     barrier()
+-#define smp_mb()                      barrier()
+-
+-/*  Set a value and use a memory barrier.  Used by the scheduler somewhere.  */
+-#define set_mb(var, value) \
+-      do { var = value; mb(); } while (0)
+-
+-#endif /* _ASM_BARRIER_H */
index 2d1edbf5a4ab4ff9d18b413d37c5d643bded76d5..43755eb7df206c7fc23fed6266f56f2707ff7c65 100644 (file)
@@ -77,3 +77,4 @@ dm-cache-fix-null-pointer-when-switching-from-cleaner-policy.patch
 staging-speakup-fix-speakup-r-regression.patch
 mm-slab-fix-unexpected-index-mapping-result-of-kmalloc_size-index_node-1.patch
 3w-9xxx-don-t-unmap-bounce-buffered-commands.patch
+arc-hexagon-delete-asm-barrier.h.patch