Module Name: src
Committed By: cherry
Date: Sat Aug 13 20:24:19 UTC 2011
Modified Files:
src/sys/arch/xen/x86: x86_xpmap.c
Log Message:
Call the right function
(fix for an egregious error)
To generate a diff of this commit:
cvs rdiff -u -r1.31 -r1.32 src/sys/arch/xen/x86/x86_xpmap.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/sys/arch/xen/x86/x86_xpmap.c
diff -u src/sys/arch/xen/x86/x86_xpmap.c:1.31 src/sys/arch/xen/x86/x86_xpmap.c:1.32
--- src/sys/arch/xen/x86/x86_xpmap.c:1.31 Sat Aug 13 12:09:38 2011
+++ src/sys/arch/xen/x86/x86_xpmap.c Sat Aug 13 20:24:19 2011
@@ -1,4 +1,4 @@
-/* $NetBSD: x86_xpmap.c,v 1.31 2011/08/13 12:09:38 cherry Exp $ */
+/* $NetBSD: x86_xpmap.c,v 1.32 2011/08/13 20:24:19 cherry Exp $ */
/*
* Copyright (c) 2006 Mathieu Ropert <[email protected]>
@@ -69,7 +69,7 @@
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: x86_xpmap.c,v 1.31 2011/08/13 12:09:38 cherry Exp $");
+__KERNEL_RCSID(0, "$NetBSD: x86_xpmap.c,v 1.32 2011/08/13 20:24:19 cherry Exp $");
#include "opt_xen.h"
#include "opt_ddb.h"
@@ -185,7 +185,7 @@
bool
xpq_queue_locked(void)
{
- return xpq_queue_locked();
+ return simple_lock_held(&xpq_lock);
}
#endif /* MULTIPROCESSOR */