From: Helge Deller Date: Wed, 23 Oct 2013 21:29:16 +0000 (+0200) Subject: parisc: make udelay() SMP-safe X-Git-Tag: omap-for-v3.13/fixes-for-merge-window-take2~47^2~6 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f6d12eefcda2e4135aa529ab8b5bf2766b4a78dd;p=pandora-kernel.git parisc: make udelay() SMP-safe Each CPU has it's own Control Register 16 (CR16) which is used as time source for the udelay() function. But since the CR16 registers across different CPUs are not synced, we need to recalculate the loop count if we get switched away to ensure that we really delay as much time as requested. Signed-off-by: Helge Deller --- Reading git-diff-tree failed