]> git.karo-electronics.de Git - karo-tx-linux.git/commit
kvm tools: Fix KVM problem on SuSe 2.6.37 kernel
authorPrasad Joshi <prasadjoshi124@gmail.com>
Mon, 4 Apr 2011 15:03:21 +0000 (16:03 +0100)
committerPekka Enberg <penberg@kernel.org>
Mon, 4 Apr 2011 15:10:34 +0000 (18:10 +0300)
commitdaf68ae10c71d767cf14209afb280506c69fe039
tree3fd598bb19d091b2e6b16c76c6ce16d9896bda72
parent511e63ba9a281fbd7d380bdaf554ea598bf5a22a
kvm tools: Fix KVM problem on SuSe 2.6.37 kernel

Got following errors while compiling the native kvm tool on my supervisor's
machine.

oswaldo@sir61a:~/linux-kvm/tools/kvm> make
In file included from /usr/include/asm/types.h:4,
                 from /usr/include/asm/kvm.h:9,
                 from ../../include/linux/kvm.h:13,
                 from include/kvm/kvm.h:6,
                 from mmio.c:1:
../../include/asm-generic/int-ll64.h:11:29: error: asm/bitsperlong.h: No such file or directory
In file included from /usr/include/asm/types.h:4,
                 from /usr/include/asm/kvm.h:9,
                 from ../../include/linux/kvm.h:13,
                 from include/kvm/kvm.h:6,
                 from main.c:1:
[snip]

../../include/asm-generic/int-ll64.h:11:29: error: asm/bitsperlong.h: No such file or directory
make: *** No rule to make target `8250-serial.d', needed by `kvm'.  Stop.

Following patch adds architecture specific include path to resolve this error.

Signed-off-by: Prasad Joshi <prasadjoshi124@gmail.com>
Signed-off-by: Pekka Enberg <penberg@kernel.org>
tools/kvm/Makefile