Re: [PATCH] KVM: Avoid using CONFIG_ in userspace visible headers

From: Ingo Molnar
Date: Mon Jan 19 2009 - 08:10:10 EST



* Avi Kivity <avi@xxxxxxxxxx> wrote:

> Kconfig symbols are not available in userspace, and are not stripped by
> headers-install. Avoid their use by adding #defines in <asm/kvm.h> to
> suit each architecture.
>
> Signed-off-by: Avi Kivity <avi@xxxxxxxxxx>
> ---
> arch/ia64/include/asm/kvm.h | 4 ++++
> arch/x86/include/asm/kvm.h | 7 +++++++
> include/linux/kvm.h | 10 +++++-----
> 3 files changed, 16 insertions(+), 5 deletions(-)

looks good - you will push this via the KVM tree, right?

Ingo
--
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/