-/* $OpenBSD: loongson3_intr.c,v 1.5 2017/02/19 09:53:37 visa Exp $ */
+/* $OpenBSD: loongson3_intr.c,v 1.6 2018/01/23 14:47:21 visa Exp $ */
/*
* Copyright (c) 2016 Visa Hankala
if (ih->ih_flags & IH_MPSAFE)
need_lock = 0;
else
- need_lock = ih->ih_level < IPL_CLOCK;
+ need_lock = 1;
if (need_lock)
__mp_lock(&kernel_lock);
#endif
if (ih->ih_flags & IH_MPSAFE)
need_lock = 0;
else
- need_lock = ih->ih_level < IPL_CLOCK;
+ need_lock = 1;
if (need_lock)
__mp_lock(&kernel_lock);
#endif
-/* $OpenBSD: octcit.c,v 1.4 2017/12/27 13:16:53 visa Exp $ */
+/* $OpenBSD: octcit.c,v 1.5 2018/01/23 14:47:21 visa Exp $ */
/*
* Copyright (c) 2017 Visa Hankala
if (ISSET(ih->ih_flags, IH_MPSAFE))
need_lock = 0;
else
- need_lock = ih->ih_level < IPL_CLOCK;
+ need_lock = 1;
if (need_lock)
__mp_lock(&kernel_lock);
#endif
-/* $OpenBSD: octciu.c,v 1.8 2017/11/03 16:19:25 visa Exp $ */
+/* $OpenBSD: octciu.c,v 1.9 2018/01/23 14:47:21 visa Exp $ */
/*
* Copyright (c) 2000-2004 Opsycon AB (www.opsycon.se)
if (ih->ih_flags & IH_MPSAFE)
need_lock = 0;
else
- need_lock = ih->ih_level < IPL_CLOCK;
+ need_lock = 1;
if (need_lock)
__mp_lock(&kernel_lock);
#endif