diff options
author | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2010-08-22 03:44:18 +0000 |
---|---|---|
committer | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2010-08-22 03:44:18 +0000 |
commit | 9e91dba9e4c647edef9d745af68321436007b4f5 (patch) | |
tree | 2bc95495f8037e2142f04533c6bd8ff6413a3c32 /nuttx/sched | |
parent | 93362e94215a997b3dd1323cba42ea40d3483575 (diff) | |
download | px4-nuttx-9e91dba9e4c647edef9d745af68321436007b4f5.tar.gz px4-nuttx-9e91dba9e4c647edef9d745af68321436007b4f5.tar.bz2 px4-nuttx-9e91dba9e4c647edef9d745af68321436007b4f5.zip |
Fix demand-paging compilation errors
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2879 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/sched')
-rwxr-xr-x | nuttx/sched/pg_worker.c | 4 |
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"); |