Messages in this thread | | | Date | Thu, 15 Jan 2009 08:52:24 -0800 | From | "H. Peter Anvin" <> | 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.
| |