Files
kernel_arpi/include/linux
Christian Borntraeger dd135ebbd2 kvm: provide kvm.h for all architecture: fixes headers_install
Currently include/linux/kvm.h is not considered by make headers_install,
because Kbuild cannot handle " unifdef-$(CONFIG_FOO) += foo.h.  This problem
was introduced by

commit fb56dbb31c
Author: Avi Kivity <avi@qumranet.com>
Date:   Sun Dec 2 10:50:06 2007 +0200

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

    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.
    only if the arch actually supports it.

    Signed-off-by: Avi Kivity <avi@qumranet.com>

which makes this an 2.6.25 regression.

One way of solving the issue is to enhance Kbuild, but Avi and David conviced
me, that changing headers_install is not the way to go.  This patch changes
the definition for linux/kvm.h to unifdef-y.

If  unifdef-y is used for linux/kvm.h "make headers_check" will fail on all
architectures without asm/kvm.h.  Therefore, this patch also provides
asm/kvm.h on all architectures.

Signed-off-by: Christian Borntraeger <borntraeger@de.ibm.com>
Acked-by: Avi Kivity <avi@qumranet.com>
Cc: Sam Ravnborg <sam@ravnborg.org
Cc: David Woodhouse <dwmw2@infradead.org>
Cc: <linux-arch@vger.kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2008-04-02 15:28:18 -07:00
..
2008-02-07 08:42:23 -08:00
2008-02-14 21:17:08 -08:00
2008-02-20 20:11:49 -05:00
2008-02-10 18:11:16 -05:00
2008-02-19 10:04:00 +01:00
2008-02-19 10:04:00 +01:00
2008-02-23 17:13:24 -08:00
2008-03-04 16:35:12 -08:00
2008-02-14 20:58:05 -08:00
2008-03-04 14:47:06 -08:00
2008-02-08 02:09:56 +00:00
2008-02-08 09:22:24 -08:00
2008-02-07 08:42:30 -08:00
2008-02-19 10:04:00 +01:00
2008-02-11 13:01:51 +01:00
2008-02-13 16:21:18 -08:00
2008-02-07 20:39:44 -05:00
2008-03-29 19:55:17 +01:00
2008-03-17 22:48:46 -07:00
2008-02-19 21:00:18 +01:00
2008-02-13 16:21:18 -08:00
2008-03-19 18:53:36 -07:00
2008-02-08 09:22:29 -08:00
2008-02-13 16:21:18 -08:00
2008-02-26 14:03:47 +09:00
2008-03-04 16:35:15 -08:00
2008-03-12 12:34:37 -07:00
2008-02-08 09:22:31 -08:00
2008-02-14 21:13:33 -08:00
2008-02-14 21:13:33 -08:00
2008-02-07 23:11:56 -08:00
2008-03-17 22:46:46 -07:00
2008-02-08 09:22:31 -08:00
2008-02-08 09:22:26 -08:00
2008-02-08 09:22:41 -08:00
2008-02-07 08:42:34 -08:00
2008-02-07 08:42:30 -08:00
2008-02-08 09:22:41 -08:00
2008-02-08 09:22:27 -08:00
2008-03-03 12:22:32 -08:00
2008-02-08 09:22:31 -08:00
2008-02-07 08:42:34 -08:00
2008-02-07 08:42:16 -08:00
2008-02-08 09:22:34 -08:00
2008-02-08 09:22:36 -08:00
2008-03-04 14:57:43 -08:00
2008-03-17 22:58:21 +11:00