diff options
author | Nathan Scott <nathans@sgi.com> | 2006-03-13 21:20:13 -0500 |
---|---|---|
committer | Nathan Scott <nathans@sgi.com> | 2006-03-13 21:20:13 -0500 |
commit | d2c32edf64a7e9bc8dfb5cb3a8f7bf7be94c93ae (patch) | |
tree | cdb70e7258708c1bdc66b9156a206e1c7906d2b6 | |
parent | e0cc2325d151c3f4f3276b2deda734faf742146f (diff) |
[XFS] When compiling with gcc 4.0 and CONFIG_SMP unset, there are many
warnings along the lines: xfs_linux.h:103:5: warning: "CONFIG_SMP" is not
defined.
SGI-PV: 946630
SGI-Modid: xfs-linux-melb:xfs-kern:25171a
Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Nathan Scott <nathans@sgi.com>
-rw-r--r-- | fs/xfs/linux-2.6/xfs_linux.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/xfs/linux-2.6/xfs_linux.h b/fs/xfs/linux-2.6/xfs_linux.h index 377a9f54a049..e2be64982bc1 100644 --- a/fs/xfs/linux-2.6/xfs_linux.h +++ b/fs/xfs/linux-2.6/xfs_linux.h | |||
@@ -100,7 +100,7 @@ | |||
100 | */ | 100 | */ |
101 | #undef HAVE_REFCACHE /* reference cache not needed for NFS in 2.6 */ | 101 | #undef HAVE_REFCACHE /* reference cache not needed for NFS in 2.6 */ |
102 | #define HAVE_SENDFILE /* sendfile(2) exists in 2.6, but not in 2.4 */ | 102 | #define HAVE_SENDFILE /* sendfile(2) exists in 2.6, but not in 2.4 */ |
103 | #if CONFIG_SMP | 103 | #ifdef CONFIG_SMP |
104 | #define HAVE_PERCPU_SB /* per cpu superblock counters are a 2.6 feature */ | 104 | #define HAVE_PERCPU_SB /* per cpu superblock counters are a 2.6 feature */ |
105 | #else | 105 | #else |
106 | #undef HAVE_PERCPU_SB /* per cpu superblock counters are a 2.6 feature */ | 106 | #undef HAVE_PERCPU_SB /* per cpu superblock counters are a 2.6 feature */ |