mirror of
https://github.com/apache/nuttx.git
synced 2026-06-07 01:05:54 +08:00
Rename CONFIG_LIBC_AIO to CONFIG_FS_AIO since it is now an OS property
This commit is contained in:
+4
-4
@@ -55,16 +55,16 @@
|
||||
/* These interfaces are not available to kernel code */
|
||||
|
||||
#if (defined(CONFIG_BUILD_PROTECTED) || defined(CONFIG_BUILD_KERNEL)) && defined(__KERNEL__)
|
||||
# undef CONFIG_LIBC_AIO
|
||||
# undef CONFIG_FS_AIO
|
||||
#endif
|
||||
|
||||
/* Work queue support is required. The low-priority work queue is required
|
||||
* so that the asynchronous I/O does not interfere with high priority driver
|
||||
* operations. If this pre-requisite is met, then asynchronous I/O support
|
||||
* can be enabled with CONFIG_LIBC_AIO
|
||||
* can be enabled with CONFIG_FS_AIO
|
||||
*/
|
||||
|
||||
#ifdef CONFIG_LIBC_AIO
|
||||
#ifdef CONFIG_FS_AIO
|
||||
|
||||
#ifndef CONFIG_SCHED_WORKQUEUE
|
||||
# error Asynchronous I/O requires CONFIG_SCHED_WORKQUEUE
|
||||
@@ -171,5 +171,5 @@ int lio_listio(int mode, FAR struct aiocb *const list[], int nent,
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif /* CONFIG_LIBC_AIO */
|
||||
#endif /* CONFIG_FS_AIO */
|
||||
#endif /* __INCLUDE_AIO_H */
|
||||
|
||||
+2
-2
@@ -1,7 +1,7 @@
|
||||
/********************************************************************************
|
||||
* include/signal.h
|
||||
*
|
||||
* Copyright (C) 2007-2009, 2011, 2013 Gregory Nutt. All rights reserved.
|
||||
* Copyright (C) 2007-2009, 2011, 2013-2014 Gregory Nutt. All rights reserved.
|
||||
* Author: Gregory Nutt <gnutt@nuttx.org>
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without
|
||||
@@ -101,7 +101,7 @@
|
||||
# endif
|
||||
#endif
|
||||
|
||||
#ifdef CONFIG_LIBC_AIO
|
||||
#ifdef CONFIG_FS_AIO
|
||||
# ifndef CONFIG_SIG_POLL
|
||||
# define SIGPOLL 5 /* Sent when an asynchronous I/O event occurs */
|
||||
# else
|
||||
|
||||
Reference in New Issue
Block a user