https://github.com/torvalds/linux
Revision 54c4e6b5fee0347ab81e2c2fe4239c455c3422ae authored by Paul Mackerras on 19 November 2005, 10:24:55 UTC, committed by Paul Mackerras on 19 November 2005, 10:24:55 UTC
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>
1 parent 0212ddd
History
Tip revision: 54c4e6b5fee0347ab81e2c2fe4239c455c3422ae authored by Paul Mackerras on 19 November 2005, 10:24:55 UTC
powerpc: Fix bug in timebase synchronization on 32-bit SMP powermac
Tip revision: 54c4e6b
File Mode Size
reed_solomon
zlib_deflate
zlib_inflate
.gitignore -rw-r--r-- 51 bytes
Kconfig -rw-r--r-- 1.8 KB
Kconfig.debug -rw-r--r-- 6.8 KB
Makefile -rw-r--r-- 1.6 KB
bitmap.c -rw-r--r-- 21.8 KB
bust_spinlocks.c -rw-r--r-- 931 bytes
cmdline.c -rw-r--r-- 2.7 KB
crc-ccitt.c -rw-r--r-- 3.0 KB
crc16.c -rw-r--r-- 2.8 KB
crc32.c -rw-r--r-- 15.9 KB
crc32defs.h -rw-r--r-- 1.0 KB
ctype.c -rw-r--r-- 1.3 KB
dec_and_lock.c -rw-r--r-- 1.7 KB
div64.c -rw-r--r-- 1.3 KB
dump_stack.c -rw-r--r-- 290 bytes
errno.c -rw-r--r-- 89 bytes
extable.c -rw-r--r-- 2.0 KB
find_next_bit.c -rw-r--r-- 1.1 KB
gen_crc32table.c -rw-r--r-- 1.8 KB
genalloc.c -rw-r--r-- 4.4 KB
halfmd4.c -rw-r--r-- 2.0 KB
idr.c -rw-r--r-- 9.6 KB
inflate.c -rw-r--r-- 37.0 KB
int_sqrt.c -rw-r--r-- 514 bytes
iomap.c -rw-r--r-- 6.2 KB
kernel_lock.c -rw-r--r-- 4.5 KB
klist.c -rw-r--r-- 6.8 KB
kobject.c -rw-r--r-- 11.1 KB
kobject_uevent.c -rw-r--r-- 9.0 KB
kref.c -rw-r--r-- 1.6 KB
libcrc32c.c -rw-r--r-- 6.5 KB
parser.c -rw-r--r-- 5.8 KB
prio_tree.c -rw-r--r-- 12.2 KB
radix-tree.c -rw-r--r-- 19.9 KB
rbtree.c -rw-r--r-- 8.9 KB
rwsem-spinlock.c -rw-r--r-- 7.5 KB
rwsem.c -rw-r--r-- 6.7 KB
semaphore-sleepers.c -rw-r--r-- 4.7 KB
sha1.c -rw-r--r-- 2.4 KB
smp_processor_id.c -rw-r--r-- 1.1 KB
sort.c -rw-r--r-- 2.4 KB
spinlock_debug.c -rw-r--r-- 5.8 KB
string.c -rw-r--r-- 11.9 KB
swiotlb.c -rw-r--r-- 22.7 KB
textsearch.c -rw-r--r-- 9.2 KB
ts_bm.c -rw-r--r-- 4.9 KB
ts_fsm.c -rw-r--r-- 10.5 KB
ts_kmp.c -rw-r--r-- 3.9 KB
vsprintf.c -rw-r--r-- 18.5 KB

back to top