From: Heiko Carstens Date: Mon, 23 May 2011 08:24:32 +0000 (+0200) Subject: [S390] percpu: implement arch specific irqsafe_cpu_ops X-Git-Tag: v3.0-rc1~313^2~18 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4c2241fd42298007d7c3a92318806a4a9490a93c;p=pandora-kernel.git [S390] percpu: implement arch specific irqsafe_cpu_ops Implement arch specific irqsafe_cpu ops. The arch specific ops do not disable/enable interrupts since that is an expensive operation. Instead we disable preemption and perform a compare and swap loop. Since on server distros (the ones we care about) preemption is disabled the preempt_disable()/preempt_enable() pair is a nop. In the end this code should be faster than the generic one. Signed-off-by: Heiko Carstens Signed-off-by: Martin Schwidefsky --- Reading git-diff-tree failed