]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: Add ifdef in irqchip struct for x86 only structures
authorJerone Young <jyoung5@us.ibm.com>
Mon, 26 Nov 2007 14:33:53 +0000 (08:33 -0600)
committerAvi Kivity <avi@qumranet.com>
Wed, 30 Jan 2008 15:53:15 +0000 (17:53 +0200)
commit7d6f7fa1d03313bfbbb630c4c151f08ec303d85d
tree97675b88559d9bab5674fb2c497be17e0b7d5be9
parent2ce7026b461a0c83ebb60ce37368d73bfc6c3ad0
KVM: Add ifdef in irqchip struct for x86 only structures

This patch fixes a small issue where sturctures:
kvm_pic_state
kvm_ioapic_state

are defined inside x86 specific code and may or may not
be defined in anyway for other architectures. The problem
caused is one cannot compile userspace apps (ex. libkvm)
for other archs since a size cannot be determined for these
structures.

Signed-off-by: Jerone Young <jyoung5@us.ibm.com>
Signed-off-by: Avi Kivity <avi@qumranet.com>
include/linux/Kbuild
include/linux/kvm.h