summaryrefslogtreecommitdiff
path: root/Makefile.cross
diff options
context:
space:
mode:
authorMiod Vallat <miod@cvs.openbsd.org>2009-02-20 20:40:02 +0000
committerMiod Vallat <miod@cvs.openbsd.org>2009-02-20 20:40:02 +0000
commit7f4aa089b96fe48e07b63c1c91109c5fd9864ce1 (patch)
treee0eafccc8752157886570792f44ca299a16ef3d7 /Makefile.cross
parent1d19b5a49aca0084a40d4958c0ef7e1f2fb0b62c (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 'Makefile.cross')
0 files changed, 0 insertions, 0 deletions