summaryrefslogtreecommitdiff
path: root/arch/s390/include/asm/stat.h
diff options
context:
space:
mode:
authorHeiko Carstens <heiko.carstens@de.ibm.com>2012-09-17 04:38:22 (GMT)
committerMartin Schwidefsky <schwidefsky@de.ibm.com>2012-09-26 13:45:24 (GMT)
commit28634a07d3f72f2c186ad465e58f72e728c5cd4e (patch)
treebc3b2063834b72205470efea903d366f42ba255b /arch/s390/include/asm/stat.h
parent0ed23b3e495807809873bb607d12c857ae9ab7c2 (diff)
downloadlinux-fsl-qoriq-28634a07d3f72f2c186ad465e58f72e728c5cd4e.tar.xz
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>
Diffstat (limited to 'arch/s390/include/asm/stat.h')
0 files changed, 0 insertions, 0 deletions