From: Adrian Bunk <bunk@stusta.de>
To: Andrew Morton <akpm@osdl.org>, xfs-masters@oss.sgi.com
Cc: linux-kernel@vger.kernel.org, linux-xfs@oss.sgi.com
Subject: [-mm patch] fs/xfs/linux-2.6/xfs_linux.h: #if CONFIG_SMP -> #ifdef CONFIG_SMP
Date: Fri, 10 Feb 2006 13:31:14 +0100 [thread overview]
Message-ID: <20060210123114.GC19918@stusta.de> (raw)
In-Reply-To: <20060207220627.345107c3.akpm@osdl.org>
On Tue, Feb 07, 2006 at 10:06:27PM -0800, Andrew Morton wrote:
>...
> Changes since 2.6.16-rc1-mm5:
>...
> git-xfs.patch
>...
> Git trees
>...
When compiling with gcc 4.0 and CONFIG_SMP unset, there are tons of the
following warnings:
<-- snip -->
...
CC fs/xfs/quota/xfs_dquot_item.o
In file included from fs/xfs/xfs.h:20,
from fs/xfs/quota/xfs_dquot_item.c:18:
fs/xfs/linux-2.6/xfs_linux.h:103:5: warning: "CONFIG_SMP" is not defined
CC fs/xfs/quota/xfs_trans_dquot.o
In file included from fs/xfs/xfs.h:20,
from fs/xfs/quota/xfs_trans_dquot.c:18:
fs/xfs/linux-2.6/xfs_linux.h:103:5: warning: "CONFIG_SMP" is not defined
CC fs/xfs/quota/xfs_qm_syscalls.o
In file included from fs/xfs/xfs.h:20,
from fs/xfs/quota/xfs_qm_syscalls.c:21:
fs/xfs/linux-2.6/xfs_linux.h:103:5: warning: "CONFIG_SMP" is not defined
...
<-- snip -->
Signed-off-by: Adrian Bunk <bunk@stusta.de>
--- linux-2.6.16-rc2-mm1-full/fs/xfs/linux-2.6/xfs_linux.h.old 2006-02-10 12:17:32.000000000 +0100
+++ linux-2.6.16-rc2-mm1-full/fs/xfs/linux-2.6/xfs_linux.h 2006-02-10 12:18:05.000000000 +0100
@@ -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 */
next prev parent reply other threads:[~2006-02-10 12:31 UTC|newest]
Thread overview: 29+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-02-08 6:06 2.6.16-rc2-mm1 Andrew Morton
2006-02-08 21:17 ` 2.6.16-rc2-mm1 Paul Jackson
2006-02-10 10:34 ` 2.6.16-rc2-mm1 Sachin Sant
2006-02-10 0:37 ` [-mm patch] drivers/scsi/gdth.c: make __gdth_execute() static Adrian Bunk
2006-02-10 13:11 ` Christoph Hellwig
2006-02-10 0:41 ` [-mm patch] drivers/message/fusion/mptctl.c: make struct async_queue static Adrian Bunk
2006-02-10 0:43 ` [-mm patch] drivers/video/geode/video_gx.c: make struct gx_pll_table_48MHz static Adrian Bunk
2006-02-10 12:31 ` Adrian Bunk [this message]
2006-02-10 14:52 ` Radeonfb ignores video= parameter [was: Re: 2.6.16-rc2-mm1] Mattia Dongili
2006-02-10 15:14 ` [PATCH] fbdev: Fix typo in fbmem.c Antonino A. Daplas
2006-02-10 16:34 ` Mattia Dongili
2006-02-10 18:17 ` 2.6.16-rc2-mm1 Coywolf Qi Hunt
2006-02-10 19:25 ` 2.6.16-rc2-mm1 Andrew Morton
2006-02-10 20:05 ` 2.6.16-rc2-mm1 Coywolf Qi Hunt
2006-02-10 20:22 ` 2.6.16-rc2-mm1 Matthias Urlichs
2006-02-10 21:30 ` 2.6.16-rc2-mm1 Jim Crilly
2006-02-10 22:25 ` 2.6.16-rc2-mm1 Andrew Morton
2006-02-10 22:34 ` 2.6.16-rc2-mm1 Dave Jones
2006-02-10 22:28 ` 2.6.16-rc2-mm1 Jeff Garzik
2006-02-10 22:30 ` 2.6.16-rc2-mm1 Jim Crilly
2006-02-10 21:55 ` 2.6.16-rc2-mm1 Pavel Machek
2006-02-11 20:31 ` 2.6.16-rc2-mm1 Martin Hermanowski
2006-02-11 21:41 ` 2.6.16-rc2-mm1 Andrew Morton
2006-02-11 22:27 ` 2.6.16-rc2-mm1 Martin Hermanowski
2006-02-11 23:34 ` 2.6.16-rc2-mm1 Andrew Morton
2006-02-12 12:10 ` 2.6.16-rc2-mm1 Martin Hermanowski
2006-02-13 23:30 ` 2.6.16-rc2-mm1: crash on suspend Laurent Riffard
2006-02-14 0:57 ` 2.6.16-rc2-mm1 Alexandre Buisse
2006-02-14 0:51 ` 2.6.16-rc2-mm1 Andrew Morton
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20060210123114.GC19918@stusta.de \
--to=bunk@stusta.de \
--cc=akpm@osdl.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-xfs@oss.sgi.com \
--cc=xfs-masters@oss.sgi.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox