]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - arch/s390/kernel/time.c
Merge tag 'mac80211-for-davem-2015-09-22' of git://git.kernel.org/pub/scm/linux/kerne...
[karo-tx-linux.git] / arch / s390 / kernel / time.c
index 52524b9083c36aa869dfa01de51a20834f18893a..017c3a9bfc280e2475bbeed6902ac1cf3ed8c569 100644 (file)
@@ -378,7 +378,7 @@ static void disable_sync_clock(void *dummy)
         * increase the "sequence" counter to avoid the race of an
         * etr event and the complete recovery against get_sync_clock.
         */
-       atomic_clear_mask(0x80000000, sw_ptr);
+       atomic_andnot(0x80000000, sw_ptr);
        atomic_inc(sw_ptr);
 }
 
@@ -389,7 +389,7 @@ static void disable_sync_clock(void *dummy)
 static void enable_sync_clock(void)
 {
        atomic_t *sw_ptr = this_cpu_ptr(&clock_sync_word);
-       atomic_set_mask(0x80000000, sw_ptr);
+       atomic_or(0x80000000, sw_ptr);
 }
 
 /*