Re: [patch 3/5] x86: headers cleanup - ptrace-abi.h

From: H. Peter Anvin
Date: Thu Jan 15 2009 - 11:52:56 EST


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@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/