summaryrefslogtreecommitdiff
path: root/nuttx/fs
diff options
context:
space:
mode:
authorGregory Nutt <gnutt@nuttx.org>2014-04-21 17:21:43 -0600
committerGregory Nutt <gnutt@nuttx.org>2014-04-21 17:21:43 -0600
commit9f43a102d35462247d27e5ee3d568c5294960686 (patch)
tree464a463a7b751d62d324746aa0f43f058b616ea9 /nuttx/fs
parent513dbf8557c2a1c282f97cb08d55402b8bdbf6eb (diff)
downloadnuttx-9f43a102d35462247d27e5ee3d568c5294960686.tar.gz
nuttx-9f43a102d35462247d27e5ee3d568c5294960686.tar.bz2
nuttx-9f43a102d35462247d27e5ee3d568c5294960686.zip
Correct some procfs conditional compilation. From Bob Doiron
Diffstat (limited to 'nuttx/fs')
-rw-r--r--nuttx/fs/procfs/fs_procfscpuload.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/nuttx/fs/procfs/fs_procfscpuload.c b/nuttx/fs/procfs/fs_procfscpuload.c
index 87883926e..93776b496 100644
--- a/nuttx/fs/procfs/fs_procfscpuload.c
+++ b/nuttx/fs/procfs/fs_procfscpuload.c
@@ -60,7 +60,7 @@
#include <nuttx/fs/procfs.h>
#if !defined(CONFIG_DISABLE_MOUNTPOINT) && defined(CONFIG_FS_PROCFS)
-#ifndef CONFIG_FS_PROCFS_EXCLUDE_CPULOAD
+#if defined(CONFIG_SCHED_CPULOAD) && !defined(CONFIG_FS_PROCFS_EXCLUDE_CPULOAD)
/****************************************************************************
* Pre-processor Definitions