summaryrefslogtreecommitdiffstats
path: root/arch/s390
diff options
context:
space:
mode:
authorHeiko Carstens <heiko.carstens@de.ibm.com>2016-03-02 10:14:08 +0100
committerMartin Schwidefsky <schwidefsky@de.ibm.com>2016-03-02 06:44:30 -0600
commitf369b98ee30df4b4eaf57e2aab081529c2fad6d9 (patch)
tree5ef34e4537b4f53fba1305b43735b4857949b862 /arch/s390
parentb1685ab9bd3ae14830acac8ffdc7aafc0fb416e3 (diff)
downloadop-kernel-dev-f369b98ee30df4b4eaf57e2aab081529c2fad6d9.zip
op-kernel-dev-f369b98ee30df4b4eaf57e2aab081529c2fad6d9.tar.gz
s390/percpu: remove this_cpu_cmpxchg_double_4
git commit 26f15caaf993 ("s390/cmpxchg: simplify cmpxchg_double") removed support for cmpxchg_double for two consecutive four byte values, for which it would generate a cds instruction. However I forgot to remove the corresponding define in our percpu header file, which means that this_cpu_cmpxchg_double would now incorrectly generate a cdsg instruction if being used on a double four byte location. Therefore remove the percpu define as well. There is currently no user and therefore no bug fixed with this. Obviously any such user could and should simply use cmpxchg. Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com> Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Diffstat (limited to 'arch/s390')
-rw-r--r--arch/s390/include/asm/percpu.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/arch/s390/include/asm/percpu.h b/arch/s390/include/asm/percpu.h
index 6d6556c..90240df 100644
--- a/arch/s390/include/asm/percpu.h
+++ b/arch/s390/include/asm/percpu.h
@@ -178,7 +178,6 @@
ret__; \
})
-#define this_cpu_cmpxchg_double_4 arch_this_cpu_cmpxchg_double
#define this_cpu_cmpxchg_double_8 arch_this_cpu_cmpxchg_double
#include <asm-generic/percpu.h>
OpenPOWER on IntegriCloud