diff options
author | Miod Vallat <miod@cvs.openbsd.org> | 2009-02-20 20:40:02 +0000 |
---|---|---|
committer | Miod Vallat <miod@cvs.openbsd.org> | 2009-02-20 20:40:02 +0000 |
commit | 7f4aa089b96fe48e07b63c1c91109c5fd9864ce1 (patch) | |
tree | e0eafccc8752157886570792f44ca299a16ef3d7 /share | |
parent | 1d19b5a49aca0084a40d4958c0ef7e1f2fb0b62c (diff) |
atomic_{set,clear}bits_int were not safe enough on 88110 systems, as they
can be interrupted by NMI; move the SMP version of these routines from
inlines to a separate file (kernel text shrinks 20KB...).
Since the implementation for 88110 becomes really hairy, the pre-main() code
is responsible for copying the appropriate code over for kernels configured
for both 88100 and 88110 cpus, to avoid having to choose the atomicity
strategy at runtime. Hairy, I said.
This gets GENERIC.MP run much further on 197DP. Not enough to reach multiuser
mode, but boots up to starting sshd and then panics.
Diffstat (limited to 'share')
0 files changed, 0 insertions, 0 deletions