Re: KVM: Export include/linux/kvm.h only if $ARCH actually supports KVM

From: Olaf Hering
Date: Sun Feb 10 2008 - 06:15:43 EST



> Currently, make headers_check barfs due to <asm/kvm.h>, which <linux/kvm.h>
> includes, not existing. Rather than add a zillion <asm/kvm.h>s, export kvm.h
> only if the arch actually supports it.

This makes headers_install_all unreliable.
linux/kvm.h will not be exported, depending on what system the libc
headers will be generated. Please revert
fb56dbb31c4738a3918db81fd24da732ce3b4ae6 and find a different way to run
make headers_check successfully.

Similar CONFIG_* usage is in include/asm-cris/Kbuild.
Fortunately, its not relevant in practice.
--
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/