Actually define the klock/unlock pointers. Not having the storage
allocated for them created "interesting" effects with one compiler setup.
This commit is contained in:
parent
689370802f
commit
88593a2335
@ -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 @@ struct rumpuser_cv rumpuser_aio_cv;
|
||||
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)
|
||||
|
Loading…
Reference in New Issue
Block a user