android_kernel_xiaomi_sm8350/include/asm-mn10300
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
..
proc-mn103e010
unit-asb2303
unit-asb2305
.gitignore
atomic.h
auxvec.h
bitops.h
bug.h
bugs.h
busctl-regs.h
byteorder.h
cache.h
cacheflush.h
checksum.h
cpu-regs.h
cputime.h
current.h
delay.h
device.h
div64.h
dma-mapping.h
dma.h
dmactl-regs.h
elf.h
emergency-restart.h
errno.h
exceptions.h
fb.h
fcntl.h
fpu.h
frame.inc
futex.h
gdb-stub.h
hardirq.h
highmem.h
hw_irq.h
ide.h
intctl-regs.h
io.h
ioctl.h
ioctls.h
ipc.h
ipcbuf.h
irq_regs.h
irq.h
Kbuild Really unexport asm/page.h 2008-03-06 08:13:47 -08:00
kdebug.h
kmap_types.h
kprobes.h
kvm.h kvm: provide kvm.h for all architecture: fixes headers_install 2008-04-02 15:28:18 -07:00
linkage.h
local.h
mc146818rtc.h
mman.h
mmu_context.h
mmu.h
module.h
msgbuf.h
mutex.h
namei.h
nmi.h
page_offset.h
page.h
param.h MN10300: define HZ as a config option 2008-02-23 17:12:13 -08:00
pci.h
percpu.h
pgalloc.h
pgtable.h
pio-regs.h
poll.h
posix_types.h
processor.h
ptrace.h
reset-regs.h
resource.h
rtc-regs.h
rtc.h
scatterlist.h
sections.h
semaphore.h
sembuf.h
serial-regs.h
serial.h
setup.h
shmbuf.h
shmparam.h
sigcontext.h
siginfo.h
signal.h
smp.h
socket.h MN10300: define SO_MARK 2008-02-23 17:12:13 -08:00
sockios.h
spinlock.h
stat.h
statfs.h
string.h
system.h
termbits.h
termios.h
thread_info.h
timer-regs.h
timex.h
tlb.h
tlbflush.h
topology.h
types.h
uaccess.h
ucontext.h
unaligned.h
unistd.h
user.h
vga.h
xor.h