Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/lib/librumpuser Actually define the klock/unlock pointers. ...
details: https://anonhg.NetBSD.org/src/rev/88ceb16c237b
branches: trunk
changeset: 782565:88ceb16c237b
user: pooka <pooka%NetBSD.org@localhost>
date: Tue Nov 06 18:33:00 2012 +0000
description:
Actually define the klock/unlock pointers. Not having the storage
allocated for them created "interesting" effects with one compiler setup.
diffstat:
lib/librumpuser/rumpuser_pth_dummy.c | 7 +++++--
1 files changed, 5 insertions(+), 2 deletions(-)
diffs (28 lines):
diff -r 5be7288f4587 -r 88ceb16c237b lib/librumpuser/rumpuser_pth_dummy.c
--- a/lib/librumpuser/rumpuser_pth_dummy.c Tue Nov 06 18:31:53 2012 +0000
+++ b/lib/librumpuser/rumpuser_pth_dummy.c Tue Nov 06 18:33:00 2012 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: rumpuser_pth_dummy.c,v 1.6 2012/11/06 18:31:14 pooka Exp $ */
+/* $NetBSD: rumpuser_pth_dummy.c,v 1.7 2012/11/06 18:33:00 pooka Exp $ */
/*
* Copyright (c) 2009 Antti Kantee. All Rights Reserved.
@@ -29,7 +29,7 @@
#include <sys/cdefs.h>
#if !defined(lint)
-__RCSID("$NetBSD: rumpuser_pth_dummy.c,v 1.6 2012/11/06 18:31:14 pooka Exp $");
+__RCSID("$NetBSD: rumpuser_pth_dummy.c,v 1.7 2012/11/06 18:33:00 pooka Exp $");
#endif /* !lint */
#include <sys/time.h>
@@ -63,6 +63,9 @@
int rumpuser_aio_head, rumpuser_aio_tail;
struct rumpuser_aio rumpuser_aios[N_AIOS];
+kernel_lockfn rumpuser__klock;
+kernel_unlockfn rumpuser__kunlock;
+
/*ARGSUSED*/
void
rumpuser_thrinit(kernel_lockfn lockfn, kernel_unlockfn unlockfn, int threads)
Home |
Main Index |
Thread Index |
Old Index