diff options
author | 2014-10-09 13:58:40 +0000 | |
---|---|---|
committer | 2014-10-09 13:58:40 +0000 | |
commit | db9a4012d1808d837c00966b0c886f51cb478902 (patch) | |
tree | 1a264979837aefe9a8178d7a6a1d597b764d2f78 /lib/libc | |
parent | Add POLLHUP to expected revents for POLLIN on writer EOF. (diff) | |
download | wireguard-openbsd-db9a4012d1808d837c00966b0c886f51cb478902.tar.xz wireguard-openbsd-db9a4012d1808d837c00966b0c886f51cb478902.zip |
Properly initialize secondary CPUs on 64bit machines.
Due to a bug in our Openfirmware client interface on G5, the call to
OF_finddevice() in cpu_spinup() will never return if the given argument
is on the stack. Use a workaround for the moment and put it in the bss.
Yes, this is ugly, but it makes GENERIC.MP ``usable'' on Powermac7,2 and
7,3 and does not freeze your machine during the first boot.
Issue also reported by "The Mouse" on ppc@, tested by landry@
Diffstat (limited to 'lib/libc')
0 files changed, 0 insertions, 0 deletions