commit | 54c4e6b5fee0347ab81e2c2fe4239c455c3422ae | [log] [tgz] |
---|---|---|
author | Paul Mackerras <paulus@samba.org> | Sat Nov 19 21:24:55 2005 +1100 |
committer | Paul Mackerras <paulus@samba.org> | Sat Nov 19 21:24:55 2005 +1100 |
tree | 4487d2642ecd1ccdf7ccdb6202780507fa95b5da | |
parent | 0212ddd839470f7a54cccccbaecd4833b4123da2 [diff] |
powerpc: Fix bug in timebase synchronization on 32-bit SMP powermac We were using udelay in the loop on the primary cpu waiting for the secondary cpu to take the timebase value. Unfortunately now that udelay uses the timebase, and the timebase is stopped at this point, the udelay never terminated. This fixes it by not using udelay, and increases the number of loops before we time out to compensate. Signed-off-by: Paul Mackerras <paulus@samba.org>