summaryrefslogtreecommitdiffstats
path: root/lib/libc
diff options
context:
space:
mode:
authormpi <mpi@openbsd.org>2014-10-09 13:58:40 +0000
committermpi <mpi@openbsd.org>2014-10-09 13:58:40 +0000
commitdb9a4012d1808d837c00966b0c886f51cb478902 (patch)
tree1a264979837aefe9a8178d7a6a1d597b764d2f78 /lib/libc
parentAdd POLLHUP to expected revents for POLLIN on writer EOF. (diff)
downloadwireguard-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