summaryrefslogtreecommitdiff
path: root/lib/libc/stdio/setbuffer.c
diff options
context:
space:
mode:
authormhitch <mhitch@NetBSD.org>2009-10-25 20:39:45 +0000
committermhitch <mhitch@NetBSD.org>2009-10-25 20:39:45 +0000
commit4cdf2079e4af97a8307d4da723b035c6cc63f3a0 (patch)
tree69130473413419f03f5941697ccecd525e9be4c0 /lib/libc/stdio/setbuffer.c
parent50a251ce93a6cfdb1d3132f678ba437b145dc9e7 (diff)
We might switch cpu in between the start of cpu_reboot() and where we
actually start shutting down cpus. This caused problems because the wait_mask computed at the beginning of cpu_reboot() wouldn't be correct when actually waiting for the other cpus to shutdown, and cpu_halt() might be called instead of prom_halt() at the end, leading to a hung machine.
Diffstat (limited to 'lib/libc/stdio/setbuffer.c')
0 files changed, 0 insertions, 0 deletions