linux-stable-rt/include/asm-sh
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
..
cpu-sh2
cpu-sh2a
cpu-sh3
cpu-sh4
cpu-sh5
dreamcast
hd64465
landisk
mpc1211
sh03
.gitignore
Kbuild
a.out.h
adc.h
addrspace.h
atomic-grb.h
atomic-irq.h
atomic-llsc.h
atomic.h
auxvec.h
bitops-grb.h
bitops-irq.h
bitops.h
bug.h
bugs.h
byteorder.h
cache.h
cacheflush.h
checksum.h
checksum_32.h
checksum_64.h
clock.h
cmpxchg-grb.h
cmpxchg-irq.h
cpu-features.h
cputime.h
current.h
delay.h
device.h
div64.h
dma-mapping.h
dma.h
dmabrg.h
edosk7705.h
elf.h
emergency-restart.h
entry-macros.S
errno.h
fb.h
fcntl.h
fixmap.h
flat.h
fpu.h sh: Fix TIF_USEDFPU clearing under FPU emulation. 2008-03-26 19:09:21 +09:00
freq.h
futex-irq.h
futex.h
gpio.h
hardirq.h
hd64461.h
heartbeat.h
hp6xx.h
hw_irq.h
ide.h
ilsel.h
io.h
io_generic.h
io_trapped.h
ioctl.h
ioctls.h
ipcbuf.h
irq.h
irq_regs.h
irqflags.h
irqflags_32.h
irqflags_64.h
kdebug.h
kexec.h
keyboard.h
kgdb.h
kmap_types.h
kvm.h kvm: provide kvm.h for all architecture: fixes headers_install 2008-04-02 15:28:18 -07:00
lboxre2.h
linkage.h
local.h
machvec.h
magicpanelr2.h
mc146818rtc.h
microdev.h
mman.h
mmu.h
mmu_context.h
mmu_context_32.h
mmu_context_64.h
mmzone.h
module.h
msgbuf.h
mutex.h
namei.h
page.h
param.h
parport.h
pci.h
percpu.h
pgalloc.h
pgtable.h
pgtable_32.h
pgtable_64.h
pm.h
poll.h
posix_types.h
posix_types_32.h
posix_types_64.h
processor.h
processor_32.h
processor_64.h
ptrace.h
push-switch.h
r7780rp.h
resource.h
rtc.h
rts7751r2d.h
rwsem.h
scatterlist.h
sdk7780.h
se.h
se7206.h
se7343.h
se7722.h
se7751.h
se7780.h
sections.h
segment.h
semaphore-helper.h
semaphore.h
sembuf.h
serial.h
setup.h
sfp-machine.h
sh_bios.h
shmbuf.h
shmin.h
shmparam.h
sigcontext.h
siginfo.h
signal.h
smc37c93x.h
smp.h
snapgear.h
socket.h
sockios.h
sparsemem.h
spi.h
spinlock.h
spinlock_types.h
stat.h
statfs.h
string.h
string_32.h
string_64.h
system.h
system_32.h
system_64.h
systemh7751.h
termbits.h
termios.h
thread_info.h
timer.h
timex.h
titan.h
tlb.h
tlb_64.h
tlbflush.h
topology.h
types.h
uaccess.h
uaccess_32.h
uaccess_64.h
ubc.h
ucontext.h
unaligned.h
unistd.h
unistd_32.h
unistd_64.h
user.h
vga.h
watchdog.h
xor.h