commit | 28634a07d3f72f2c186ad465e58f72e728c5cd4e | [log] [tgz] |
---|---|---|
author | Heiko Carstens <heiko.carstens@de.ibm.com> | Mon Sep 17 06:38:22 2012 +0200 |
committer | Martin Schwidefsky <schwidefsky@de.ibm.com> | Wed Sep 26 15:45:24 2012 +0200 |
tree | bc3b2063834b72205470efea903d366f42ba255b | |
parent | 0ed23b3e495807809873bb607d12c857ae9ab7c2 [diff] |
s390/percpu: implement this_cpu_xchg() The generic variant has a local_irq_save/restore pair which is quite expensive. It is sufficient to disable preemption, which is a no-op with !CONFIG_PREEMPT and then use the regular xchg macro. Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com> Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>