Clean up some lint associated with the AIO code.
This commit is contained in:
parent
0a0a85b3e0
commit
5aaef07c50
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=27465
@ -36,7 +36,7 @@
|
||||
* SUCH DAMAGE.
|
||||
*
|
||||
* @(#)kern_exit.c 8.7 (Berkeley) 2/12/94
|
||||
* $Id: kern_exit.c,v 1.49 1997/06/16 00:29:30 dyson Exp $
|
||||
* $Id: kern_exit.c,v 1.50 1997/07/06 02:40:40 dyson Exp $
|
||||
*/
|
||||
|
||||
#include "opt_ktrace.h"
|
||||
@ -63,6 +63,7 @@
|
||||
#include <sys/filedesc.h>
|
||||
#include <sys/shm.h>
|
||||
#include <sys/sem.h>
|
||||
#include <sys/aio.h>
|
||||
|
||||
#ifdef COMPAT_43
|
||||
#include <machine/reg.h>
|
||||
|
@ -13,7 +13,7 @@
|
||||
* bad that happens because of using this software isn't the responsibility
|
||||
* of the author. This software is distributed AS-IS.
|
||||
*
|
||||
* $Id: vfs_aio.c,v 1.1 1997/06/16 00:27:26 dyson Exp $
|
||||
* $Id: vfs_aio.c,v 1.2 1997/07/06 02:40:43 dyson Exp $
|
||||
*/
|
||||
|
||||
/*
|
||||
@ -57,6 +57,9 @@
|
||||
#include <vm/vm_map.h>
|
||||
#include <sys/sysctl.h>
|
||||
#include <sys/aio.h>
|
||||
#include <sys/shm.h>
|
||||
|
||||
#include <machine/cpu.h>
|
||||
|
||||
#define AIOCBLIST_CANCELLED 0x1
|
||||
#define AIOCBLIST_RUNDOWN 0x4
|
||||
@ -127,8 +130,7 @@ int max_queue_count = MAX_AIO_QUEUE;
|
||||
int num_queue_count = 0;
|
||||
|
||||
void aio_init_aioinfo(struct proc *p) ;
|
||||
void aio_onceonly(void) ;
|
||||
void aio_proc_rundown(struct proc *p) ;
|
||||
void aio_onceonly(void *) ;
|
||||
int aio_free_entry(struct aiocblist *aiocbe);
|
||||
void aio_cancel_internal(struct aiocblist *aiocbe);
|
||||
void aio_process(struct aiocblist *aiocbe);
|
||||
@ -143,7 +145,7 @@ SYSINIT(aio, SI_SUB_VFS, SI_ORDER_ANY, aio_onceonly, NULL);
|
||||
* Startup initialization
|
||||
*/
|
||||
void
|
||||
aio_onceonly() {
|
||||
aio_onceonly(void *na) {
|
||||
TAILQ_INIT(&aio_freeproc);
|
||||
TAILQ_INIT(&aio_activeproc);
|
||||
TAILQ_INIT(&aio_jobs);
|
||||
|
@ -16,7 +16,7 @@
|
||||
* bad that happens because of using this software isn't the responsibility
|
||||
* of the author. This software is distributed AS-IS.
|
||||
*
|
||||
* $Id: aio.h,v 1.1 1997/05/22 00:19:44 toor Exp $
|
||||
* $Id: aio.h,v 1.1 1997/06/16 12:10:21 dyson Exp $
|
||||
*/
|
||||
|
||||
#include <sys/types.h>
|
||||
@ -168,6 +168,11 @@ int aio_cancel( int fd, struct aiocb *iocb);
|
||||
int aio_suspend( struct aiocb * const acb_list[], int nacb_listent,
|
||||
struct timespec *tm);
|
||||
|
||||
#endif
|
||||
#else
|
||||
|
||||
void aio_proc_rundown( struct proc *p);
|
||||
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user