From: Heiko Carstens Date: Mon, 17 Sep 2012 04:38:22 +0000 (+0200) Subject: s390/percpu: implement this_cpu_xchg() X-Git-Tag: omap-for-v3.7-rc1/fixes-cpufreq-signed~81^2~10 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=28634a07d3f72f2c186ad465e58f72e728c5cd4e;p=pandora-kernel.git 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 Signed-off-by: Martin Schwidefsky --- Reading git-diff-tree failed