remove dummy asm/kvm.h files

This patch removes the dummy asm/kvm.h files on architectures not (yet)
supporting KVM and uses the same conditional headers installation as
already used for a.out.h .

Also removed are superfluous install rules in the s390 and x86 Kbuild
files (they are already in Kbuild.asm).

Signed-off-by: Adrian Bunk <bunk@kernel.org>
Acked-by: Sam Ravnborg <sam@ravnborg.org>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>

authored by

Adrian Bunk and committed by
David Woodhouse
7dcf2a9f 44463f7d

+4 -105
-6
include/asm-alpha/kvm.h
··· 1 - #ifndef __LINUX_KVM_ALPHA_H 2 - #define __LINUX_KVM_ALPHA_H 3 - 4 - /* alpha does not support KVM */ 5 - 6 - #endif
-6
include/asm-arm/kvm.h
··· 1 - #ifndef __LINUX_KVM_ARM_H 2 - #define __LINUX_KVM_ARM_H 3 - 4 - /* arm does not support KVM */ 5 - 6 - #endif
-6
include/asm-avr32/kvm.h
··· 1 - #ifndef __LINUX_KVM_AVR32_H 2 - #define __LINUX_KVM_AVR32_H 3 - 4 - /* avr32 does not support KVM */ 5 - 6 - #endif
-6
include/asm-blackfin/kvm.h
··· 1 - #ifndef __LINUX_KVM_BLACKFIN_H 2 - #define __LINUX_KVM_BLACKFIN_H 3 - 4 - /* blackfin does not support KVM */ 5 - 6 - #endif
-6
include/asm-cris/kvm.h
··· 1 - #ifndef __LINUX_KVM_CRIS_H 2 - #define __LINUX_KVM_CRIS_H 3 - 4 - /* cris does not support KVM */ 5 - 6 - #endif
-6
include/asm-frv/kvm.h
··· 1 - #ifndef __LINUX_KVM_FRV_H 2 - #define __LINUX_KVM_FRV_H 3 - 4 - /* frv does not support KVM */ 5 - 6 - #endif
+2
include/asm-generic/Kbuild.asm
··· 1 + ifneq ($(wildcard $(srctree)/include/asm-$(SRCARCH)/kvm.h),) 1 2 header-y += kvm.h 3 + endif 2 4 3 5 ifneq ($(wildcard $(srctree)/include/asm-$(SRCARCH)/a.out.h),) 4 6 unifdef-y += a.out.h
-6
include/asm-h8300/kvm.h
··· 1 - #ifndef __LINUX_KVM_H8300_H 2 - #define __LINUX_KVM_H8300_H 3 - 4 - /* h8300 does not support KVM */ 5 - 6 - #endif
-6
include/asm-m32r/kvm.h
··· 1 - #ifndef __LINUX_KVM_M32R_H 2 - #define __LINUX_KVM_M32R_H 3 - 4 - /* m32r does not support KVM */ 5 - 6 - #endif
-6
include/asm-m68k/kvm.h
··· 1 - #ifndef __LINUX_KVM_M68K_H 2 - #define __LINUX_KVM_M68K_H 3 - 4 - /* m68k does not support KVM */ 5 - 6 - #endif
-6
include/asm-m68knommu/kvm.h
··· 1 - #ifndef __LINUX_KVM_M68KNOMMU_H 2 - #define __LINUX_KVM_M68KNOMMU_H 3 - 4 - /* m68knommu does not support KVM */ 5 - 6 - #endif
-6
include/asm-mips/kvm.h
··· 1 - #ifndef __LINUX_KVM_MIPS_H 2 - #define __LINUX_KVM_MIPS_H 3 - 4 - /* mips does not support KVM */ 5 - 6 - #endif
-6
include/asm-mn10300/kvm.h
··· 1 - #ifndef __LINUX_KVM_MN10300_H 2 - #define __LINUX_KVM_MN10300_H 3 - 4 - /* mn10300 does not support KVM */ 5 - 6 - #endif
-6
include/asm-parisc/kvm.h
··· 1 - #ifndef __LINUX_KVM_PARISC_H 2 - #define __LINUX_KVM_PARISC_H 3 - 4 - /* parisc does not support KVM */ 5 - 6 - #endif
-1
include/asm-s390/Kbuild
··· 7 7 header-y += ucontext.h 8 8 header-y += vtoc.h 9 9 header-y += zcrypt.h 10 - header-y += kvm.h 11 10 header-y += chsc.h 12 11 13 12 unifdef-y += cmb.h
-6
include/asm-sh/kvm.h
··· 1 - #ifndef __LINUX_KVM_SH_H 2 - #define __LINUX_KVM_SH_H 3 - 4 - /* sh does not support KVM */ 5 - 6 - #endif
-6
include/asm-sparc/kvm.h
··· 1 - #ifndef __LINUX_KVM_SPARC_H 2 - #define __LINUX_KVM_SPARC_H 3 - 4 - /* sparc does not support KVM */ 5 - 6 - #endif
-1
include/asm-sparc64/kvm.h
··· 1 - #include <asm-sparc/kvm.h>
-6
include/asm-um/kvm.h
··· 1 - #ifndef __LINUX_KVM_UM_H 2 - #define __LINUX_KVM_UM_H 3 - 4 - /* um does not support KVM */ 5 - 6 - #endif
-1
include/asm-x86/Kbuild
··· 3 3 header-y += boot.h 4 4 header-y += bootparam.h 5 5 header-y += debugreg.h 6 - header-y += kvm.h 7 6 header-y += ldt.h 8 7 header-y += msr-index.h 9 8 header-y += prctl.h
-6
include/asm-xtensa/kvm.h
··· 1 - #ifndef __LINUX_KVM_XTENSA_H 2 - #define __LINUX_KVM_XTENSA_H 3 - 4 - /* xtensa does not support KVM */ 5 - 6 - #endif
+2
include/linux/Kbuild
··· 256 256 unifdef-y += kernelcapi.h 257 257 unifdef-y += kernel.h 258 258 unifdef-y += keyboard.h 259 + ifneq ($(wildcard $(srctree)/include/asm-$(SRCARCH)/kvm.h),) 259 260 unifdef-y += kvm.h 261 + endif 260 262 unifdef-y += llc.h 261 263 unifdef-y += loop.h 262 264 unifdef-y += lp.h