From 9e91dba9e4c647edef9d745af68321436007b4f5 Mon Sep 17 00:00:00 2001 From: patacongo Date: Sun, 22 Aug 2010 03:44:18 +0000 Subject: Fix demand-paging compilation errors git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2879 42af7a65-404d-4744-a932-0658087f49c3 --- nuttx/sched/pg_worker.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'nuttx/sched') 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"); -- cgit v1.2.3