[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20080312160328.50cecd7f.akpm@linux-foundation.org>
Date: Wed, 12 Mar 2008 16:03:28 -0700
From: Andrew Morton <akpm@...ux-foundation.org>
To: Martin Schwidefsky <schwidefsky@...ibm.com>
Cc: linux-kernel@...r.kernel.org, linux-s390@...r.kernel.org,
heiko.carstens@...ibm.com, schwidefsky@...ibm.com
Subject: Re: [patch 03/10] sched: add exported arch_reinit_sched_domains()
to header file.
On Wed, 12 Mar 2008 18:31:58 +0100
Martin Schwidefsky <schwidefsky@...ibm.com> wrote:
> +#if defined(CONFIG_SCHED_MC) || defined(CONFIG_SCHED_SMT)
> +extern int arch_reinit_sched_domains(void);
> +#endif
I tend to recommend that the ifdefs be omitted here.
It has the downside that the build will then fail at link-time rather than
at compile-time, but I haven't seen anyone complain about that.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists