Add back a __asm("lock") that got lost in the yamt-idlelwp merge.
This commit is contained in:
parent
142ad1ab3e
commit
bf539c16bd
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: xen_intr.c,v 1.2 2007/05/17 14:51:36 yamt Exp $ */
|
||||
/* $NetBSD: xen_intr.c,v 1.3 2007/06/25 20:02:45 bouyer Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (c) 1998, 2001 The NetBSD Foundation, Inc.
|
||||
|
@ -37,7 +37,7 @@
|
|||
*/
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
__KERNEL_RCSID(0, "$NetBSD: xen_intr.c,v 1.2 2007/05/17 14:51:36 yamt Exp $");
|
||||
__KERNEL_RCSID(0, "$NetBSD: xen_intr.c,v 1.3 2007/06/25 20:02:45 bouyer Exp $");
|
||||
|
||||
#include <sys/param.h>
|
||||
|
||||
|
@ -97,6 +97,6 @@ softintr(int sir)
|
|||
{
|
||||
struct cpu_info *ci = curcpu();
|
||||
|
||||
__asm volatile(" ; orl %1, %0" :
|
||||
__asm volatile("lock ; orl %1, %0" :
|
||||
"=m"(ci->ci_ipending) : "ir" (1 << sir));
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue