android_kernel_xiaomi_sdm845/include/asm-sparc64
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
..
a.out-core.h
a.out.h
agp.h
apb.h
asi.h
atomic.h
auxio.h
auxvec.h
backoff.h
bbc.h
bitops.h
bpp.h
bug.h
bugs.h
byteorder.h
cache.h
cacheflush.h
chafsr.h
checksum.h
chmctrl.h
cmt.h
compat_signal.h
compat.h
cpudata.h
cputime.h
current.h
dcr.h
dcu.h
delay.h
device.h
display7seg.h
div64.h
dma-mapping.h
dma.h
ebus.h
elf.h
emergency-restart.h
envctrl.h
errno.h
estate.h
fb.h
fbio.h
fcntl.h
fhc.h
floppy.h
fpumacro.h
futex.h
hardirq.h
head.h
hvtramp.h
hw_irq.h
hypervisor.h
ide.h
idprom.h
intr_queue.h
io.h
ioctl.h
ioctls.h
iommu.h
ipcbuf.h
irq_regs.h
irq.h
irqflags.h
isa.h
Kbuild
kdebug.h
kmap_types.h
kprobes.h
kvm.h
ldc.h
linkage.h
local.h
lsu.h
mc146818rtc.h
mdesc.h
mman.h
mmu_context.h
mmu.h
module.h
mostek.h
msgbuf.h
mutex.h
namei.h
ns87303.h
numnodes.h
of_device.h
of_platform.h
openprom.h
openpromio.h
oplib.h
page.h
param.h
parport.h
pci.h
pconf.h
percpu.h
perfctr.h
pgalloc.h
pgtable.h
pil.h
poll.h
posix_types.h
processor.h
prom.h
psrcompat.h
pstate.h
ptrace.h
reboot.h
reg.h
resource.h
rtc.h
rwsem-const.h
rwsem.h
sbus.h
scatterlist.h
scratchpad.h
seccomp.h
sections.h
semaphore.h
sembuf.h
setup.h
sfafsr.h
sfp-machine.h
shmbuf.h
shmparam.h
sigcontext.h
siginfo.h
signal.h
smp.h
socket.h
sockios.h
solerrno.h
sparsemem.h
spinlock_types.h
spinlock.h
spitfire.h
sstate.h
stacktrace.h
starfire.h
stat.h
statfs.h
string.h
sunbpp.h
svr4.h
syscalls.h
system.h
termbits.h
termios.h
thread_info.h
timer.h
timex.h
tlb.h
tlbflush.h
topology.h
tsb.h
ttable.h
types.h
uaccess.h
uctx.h
unaligned.h
unistd.h
upa.h
user.h
utrap.h
vga.h
vio.h
visasm.h
watchdog.h
xor.h