[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <496F69C8.2040103@zytor.com>
Date: Thu, 15 Jan 2009 08:52:24 -0800
From: "H. Peter Anvin" <hpa@...or.com>
To: Cyrill Gorcunov <gorcunov@...il.com>
CC: "Metzger, Markus T" <markus.t.metzger@...el.com>,
"mingo@...e.hu" <mingo@...e.hu>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
"harvey.harrison@...il.com" <harvey.harrison@...il.com>,
"sam@...nborg.org" <sam@...nborg.org>,
"jaswinderrajput@...il.com" <jaswinderrajput@...il.com>
Subject: Re: [patch 3/5] x86: headers cleanup - ptrace-abi.h
Cyrill Gorcunov wrote:
>
> Hi Markus,
>
> since it's supposed to be visible by userspace then we
> should just remove this CONFIG_X86_PTRACE_BTS so if userspace
> app has a reference to ptrace_bts_config but kernel in turn has
> this feature turned off -- the uerspace app shouldn't fail
> while being compiling.
>
Well, for userspace, the kernel configuration doesn't matter: the
CONFIG_* macros *never* exist.
This would be yet another good reason why having them be always defined
and 0/1 instead would be such an improvement, but we're not there.
-hpa
--
H. Peter Anvin, Intel Open Source Technology Center
I work for Intel. I don't speak on their behalf.
--
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