Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/xen/x86 Call the right function
details: https://anonhg.NetBSD.org/src/rev/5c71c15f97e8
branches: trunk
changeset: 768279:5c71c15f97e8
user: cherry <cherry%NetBSD.org@localhost>
date: Sat Aug 13 20:24:19 2011 +0000
description:
Call the right function
(fix for an egregious error)
diffstat:
sys/arch/xen/x86/x86_xpmap.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r 076146cbef2d -r 5c71c15f97e8 sys/arch/xen/x86/x86_xpmap.c
--- a/sys/arch/xen/x86/x86_xpmap.c Sat Aug 13 19:40:02 2011 +0000
+++ b/sys/arch/xen/x86/x86_xpmap.c Sat Aug 13 20:24:19 2011 +0000
@@ -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 <mro%adviseo.fr@localhost>
@@ -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 */
Home |
Main Index |
Thread Index |
Old Index