From: Nathan Scott Date: Tue, 14 Mar 2006 02:20:13 +0000 (+1100) Subject: [XFS] When compiling with gcc 4.0 and CONFIG_SMP unset, there are many X-Git-Tag: v2.6.17-rc1~1000^2~65 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=d2c32edf64a7e9bc8dfb5cb3a8f7bf7be94c93ae;p=profile%2Fivi%2Fkernel-adaptation-intel-automotive.git [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 Signed-off-by: Andrew Morton Signed-off-by: Nathan Scott --- diff --git a/fs/xfs/linux-2.6/xfs_linux.h b/fs/xfs/linux-2.6/xfs_linux.h index 377a9f5..e2be649 100644 --- a/fs/xfs/linux-2.6/xfs_linux.h +++ b/fs/xfs/linux-2.6/xfs_linux.h @@ -100,7 +100,7 @@ */ #undef HAVE_REFCACHE /* reference cache not needed for NFS in 2.6 */ #define HAVE_SENDFILE /* sendfile(2) exists in 2.6, but not in 2.4 */ -#if CONFIG_SMP +#ifdef CONFIG_SMP #define HAVE_PERCPU_SB /* per cpu superblock counters are a 2.6 feature */ #else #undef HAVE_PERCPU_SB /* per cpu superblock counters are a 2.6 feature */