diff options
author | Helge Deller <deller@gmx.de> | 2013-10-23 23:29:16 +0200 |
---|---|---|
committer | Helge Deller <deller@gmx.de> | 2013-11-07 22:28:26 +0100 |
commit | f6d12eefcda2e4135aa529ab8b5bf2766b4a78dd (patch) | |
tree | 595a3fe90daf8c5a5443745507349dff408af5e1 /lib/radix-tree.c | |
parent | e4be260d156409ebdabf1e13ed547d3703801c5f (diff) | |
download | linux-f6d12eefcda2e4135aa529ab8b5bf2766b4a78dd.tar.bz2 |
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 <deller@gmx.de>
Diffstat (limited to 'lib/radix-tree.c')
0 files changed, 0 insertions, 0 deletions