android_kernel_xiaomi_sm8350/include/asm-blackfin
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
..
mach-bf527 [Blackfin] serial driver: Fix bug Poll RTS/CTS status in DMA mode as well 2008-02-02 14:29:25 +08:00
mach-bf533 [Blackfin] serial driver: Fix bug Poll RTS/CTS status in DMA mode as well 2008-02-02 14:29:25 +08:00
mach-bf537 [Blackfin] serial driver: Fix bug Poll RTS/CTS status in DMA mode as well 2008-02-02 14:29:25 +08:00
mach-bf548 [Blackfin] serial driver: Add flow control support to bf54x 2008-02-02 17:05:02 +08:00
mach-bf561 [Blackfin] serial driver: Fix bug Poll RTS/CTS status in DMA mode as well 2008-02-02 14:29:25 +08:00
mach-common Blackfin arch: More explicitly describe what the instructions do in inline assembly. 2007-11-18 00:00:10 +08:00
a.out.h aout: move STACK_TOP[_MAX] to asm/processor.h 2008-02-08 09:22:29 -08:00
atomic.h
auxvec.h
bfin5xx_spi.h [Blackfin] arch: Encourage users to use the spidev character driver: Provide platform support 2008-02-09 01:54:09 +08:00
bfin_simple_timer.h
bfin_sport.h
bfin-global.h [Blackfin] arch: hook up set_irq_wake in Blackfin's irq code 2008-02-09 04:12:37 +08:00
bitops.h forbid asm/bitops.h direct inclusion 2007-10-19 11:53:41 -07:00
blackfin.h
bug.h
bugs.h
byteorder.h
cache.h
cacheflush.h
checksum.h
cplb-mpu.h [Blackfin] arch: Initial checkin of the memory protection support. 2008-01-27 18:39:16 +08:00
cplb.h [Blackfin] arch: Initial checkin of the memory protection support. 2008-01-27 18:39:16 +08:00
cplbinit.h [Blackfin] arch: Initial checkin of the memory protection support. 2008-01-27 18:39:16 +08:00
cpumask.h
cputime.h
current.h
delay.h Blackfin arch: add support for working around anomaly 05000312 2007-11-21 16:08:58 +08:00
device.h
div64.h
dma-mapping.h
dma.h [Blackfin] arch: set_bfin_dma_config shouldnt set SYNC or RESTART by default - add argument or option 2008-01-22 15:29:18 +08:00
dpmc.h [Blackfin] arch: hook up set_irq_wake in Blackfin's irq code 2008-02-09 04:12:37 +08:00
early_printk.h Blackfin arch: Initial patch to add earlyprintk support 2007-10-09 17:24:49 +08:00
elf.h Cleanup asm/{elf,page,user}.h: #ifdef __KERNEL__ is no longer needed 2008-02-07 08:42:30 -08:00
emergency-restart.h
entry.h
errno.h
fb.h
fcntl.h
fixed_code.h Blackfin arch: ensure that speculative loads of bad pointers don't cause us to do bad things. 2007-10-29 18:23:28 +08:00
flat.h
futex.h
gpio.h [Blackfin] arch: hook up set_irq_wake in Blackfin's irq code 2008-02-09 04:12:37 +08:00
gptimers.h [Blackfin] arch: make sure we have proper description/copyright/license lines 2008-02-25 15:06:07 +08:00
hardirq.h
hw_irq.h
ide.h ide: add CONFIG_IDE_ARCH_OBSOLETE_INIT 2007-10-20 00:32:32 +02:00
io.h remove mm_{ptov,vtop}() 2008-02-06 10:41:01 -08:00
ioctl.h
ioctls.h
ipcbuf.h
irq_handler.h Blackfin arch: Print out debug info, as early as possible 2007-10-09 17:31:46 +08:00
irq_regs.h
irq.h [Blackfin] arch: Cleanup abd Simplify: 2008-02-25 13:50:20 +08:00
Kbuild
kdebug.h
kgdb.h Blackfin arch: update kgdb patch 2007-10-10 16:47:58 +08:00
kmap_types.h
kvm.h kvm: provide kvm.h for all architecture: fixes headers_install 2008-04-02 15:28:18 -07:00
l1layout.h
linkage.h
local.h
mem_map.h
mman.h
mmu_context.h [Blackfin] arch: current_l1_stack_save is a pointer, so use NULL rather than 0 2008-03-05 19:02:23 -07:00
mmu.h [Blackfin] arch: Initial checkin of the memory protection support. 2008-01-27 18:39:16 +08:00
module.h
msgbuf.h
mutex.h
namei.h
nand.h [MTD] [NAND] Blackfin on-chip NAND Flash Controller driver 2007-10-13 14:36:49 +01:00
page_offset.h Blackfin arch: punt CONFIG_BFIN -- we already have CONFIG_BLACKFIN 2007-11-23 14:28:44 +08:00
page.h Add pgtable_t to remaining nommu architectures 2008-02-09 11:08:33 -08:00
param.h
pci.h
percpu.h
pgalloc.h
pgtable.h
poll.h
portmux.h Blackfin arch: gpio pinmux and resource allocation API required by BF537 on chip ethernet mac driver 2007-10-04 00:35:05 +08:00
posix_types.h asm-*/posix_types.h: scrub __GLIBC__ 2008-02-08 09:22:34 -08:00
processor.h aout: move STACK_TOP[_MAX] to asm/processor.h 2008-02-08 09:22:29 -08:00
ptrace.h
reboot.h Blackfin arch: Workaround reboot bug, issue SSYNC at the start of bfin_reset 2007-10-11 00:29:49 +08:00
resource.h
scatterlist.h blackfin: remove sg_address() 2007-10-23 12:42:44 +02:00
sections.h
segment.h
semaphore-helper.h
semaphore.h kill DECLARE_MUTEX_LOCKED 2007-10-17 08:42:47 -07:00
sembuf.h
setup.h
shmbuf.h
shmparam.h
sigcontext.h
siginfo.h
signal.h
socket.h [NET]: Introducing socket mark socket option. 2008-01-31 19:27:19 -08:00
sockios.h
spinlock.h
stat.h
statfs.h
string.h Blackfin arch: move EXPORT_SYMBOL() to C files where the symbol is actually defined 2007-11-21 15:34:51 +08:00
system.h Add cmpxchg_local to blackfin, replace __cmpxchg by generic cmpxchg 2008-02-07 08:42:31 -08:00
termbits.h
termios.h [Blackfin] arch: remove duplicated definitions of the line discipline numbers N_* in asm-blackfin/termios.h 2008-02-02 16:14:53 +08:00
thread_info.h
timex.h
tlb.h
tlbflush.h remove unused flush_tlb_pgtables 2007-10-19 11:53:34 -07:00
topology.h
trace.h [Blackfin] arch: change the trace buffer control start/stop logic in the exception handlers 2008-02-02 15:47:24 +08:00
traps.h [Blackfin] arch: fix bug - trap_tests fails to recover on some tests. 2008-01-27 15:38:56 +08:00
types.h remove strict ansi check from __u64 in asm/types.h 2007-10-17 08:42:53 -07:00
uaccess.h [Blackfin] arch: fix up coding style in uaccess.h 2007-12-24 12:40:29 +08:00
ucontext.h
unaligned.h
unistd.h [Blackfin] arch: to kill syscalls missing warning by adding new timerfd syscalls 2008-03-06 16:04:58 -07:00
user.h Sanitize the type of struct user.u_ar0 2008-02-07 08:42:30 -08:00