kvm: external module: fix include directory priority issue
commite3acf17ab09d29bc2b550fd3da153d3fdd655c9e
authorAndrea Arcangeli <andrea@qumranet.com>
Mon, 11 Feb 2008 11:26:08 +0000 (11 12:26 +0100)
committerAvi Kivity <avi@qumranet.com>
Mon, 11 Feb 2008 12:33:55 +0000 (11 14:33 +0200)
tree32ff0d391a378ec7dfe0209874badcccc3e80624
parent27f87c76a1c9d709830b5702701cd38d1837f34c
kvm: external module: fix include directory priority issue

Add a new include-compat/ directory for supplying headers which are missing
on older Linux releases.  The include order is now

- kvm headers from 'make sync'
- linux headers from $KERNELDIR
- include-compat/

Signed-off-by: Andrea Arcangeli <andrea@qumranet.com>
Signed-off-by: Avi Kivity <avi@qumranet.com>
kernel/Makefile
kernel/external-module-compat.h
kernel/include-compat/asm-x86/cmpxchg.h [moved from kernel/include/asm-x86/cmpxchg.h with 97% similarity]
kernel/include-compat/linux/anon_inodes.h [moved from kernel/include/linux/anon_inodes.h with 99% similarity]
kernel/include-compat/linux/magic.h [moved from kernel/include/linux/magic.h with 100% similarity]
kernel/include-compat/linux/mutex.h [moved from kernel/include/linux/mutex.h with 97% similarity]