summaryrefslogtreecommitdiff
path: root/nuttx/sched/pg_worker.c
diff options
context:
space:
mode:
Diffstat (limited to 'nuttx/sched/pg_worker.c')
-rwxr-xr-xnuttx/sched/pg_worker.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/nuttx/sched/pg_worker.c b/nuttx/sched/pg_worker.c
index 50469edf9..ba201f565 100755
--- a/nuttx/sched/pg_worker.c
+++ b/nuttx/sched/pg_worker.c
@@ -545,7 +545,7 @@ int pg_worker(int argc, char *argv[])
* Interrupts are still disabled.
*/
-#ifdef CONFIG_PAGING_BLOCKINGFILL
+#ifndef CONFIG_PAGING_BLOCKINGFILL
/* For the non-blocking up_fillpage(), the page fill worker thread will detect
* that the page fill is complete when it is awakened with g_pftcb non-NULL
* and fill completion status from pg_callback.
@@ -589,7 +589,7 @@ int pg_worker(int argc, char *argv[])
* event, then declare a failure.
*/
-#if defined() && defined(CONFIG_PAGING_TIMEOUT_TICKS)
+#ifdef CONFIG_PAGING_TIMEOUT_TICKS
else
{
dbg("Timeout!\n");