]> git.baikalelectronics.ru Git - kernel.git/commit
s390/percpu: remove this_cpu_cmpxchg_double_4
authorHeiko Carstens <heiko.carstens@de.ibm.com>
Wed, 2 Mar 2016 09:14:08 +0000 (10:14 +0100)
committerMartin Schwidefsky <schwidefsky@de.ibm.com>
Wed, 2 Mar 2016 12:44:30 +0000 (06:44 -0600)
commitf854c3f26ce332400433cda74b1229ed04e2b721
tree5ef34e4537b4f53fba1305b43735b4857949b862
parentbae656fe59e70643e51090dbcf78c9f91145bc01
s390/percpu: remove this_cpu_cmpxchg_double_4

git commit a9dea508cd5f ("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>
arch/s390/include/asm/percpu.h