diff options
author | Mark Kettenis <kettenis@cvs.openbsd.org> | 2007-10-17 21:30:09 +0000 |
---|---|---|
committer | Mark Kettenis <kettenis@cvs.openbsd.org> | 2007-10-17 21:30:09 +0000 |
commit | e5f14e7bf920a6f3fda6c57c7950b9d21f9b8718 (patch) | |
tree | dd78075f83ed71e63bf9796c9d4c1ac848b8d94a /sys/arch | |
parent | 5146d2857f2bf42c8a2ee2426137d95fdfe312bd (diff) |
MULTIPROCESSOR kernels need clock interrupts on secondary CPUs too, so don't
mark interrupts as busy.
Diffstat (limited to 'sys/arch')
-rw-r--r-- | sys/arch/sparc64/sparc64/locore.s | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/arch/sparc64/sparc64/locore.s b/sys/arch/sparc64/sparc64/locore.s index b1a06dc9786..ee803afdd3b 100644 --- a/sys/arch/sparc64/sparc64/locore.s +++ b/sys/arch/sparc64/sparc64/locore.s @@ -1,4 +1,4 @@ -/* $OpenBSD: locore.s,v 1.89 2007/10/17 21:23:28 kettenis Exp $ */ +/* $OpenBSD: locore.s,v 1.90 2007/10/17 21:30:08 kettenis Exp $ */ /* $NetBSD: locore.s,v 1.137 2001/08/13 06:10:10 jdolecek Exp $ */ /* @@ -3221,9 +3221,11 @@ Lsoftint_regular: nop setup_sparcintr: +#ifndef MULTIPROCESSOR ldstub [%g5+IH_BUSY], %g6 ! Check if already in use membar #LoadLoad | #LoadStore brnz,pn %g6, ret_from_intr_vector ! Skip it if it's running +#endif ldub [%g5+IH_PIL], %g6 ! Read interrupt mask sethi %hi(CPUINFO_VA+CI_INTRPENDING), %g1 mov 8, %g7 ! Number of slots to search |