kvm: external module: compat code fixes for RHEL5 kernels
commit8e7cc17e1ab751cbd451724b9435df0cfac12236
authorAndrea Arcangeli <aarcange@redhat.com>
Fri, 23 Jan 2009 18:41:35 +0000 (23 16:41 -0200)
committerAvi Kivity <avi@redhat.com>
Tue, 3 Feb 2009 12:37:41 +0000 (3 14:37 +0200)
treefa060996bdce1ae6960ba6eac0de65f69c30684f
parented901b6e2f9ded04fdac388b90420502c10bb3d3
kvm: external module: compat code fixes for RHEL5 kernels

Compat code for some RHEL5 kernel versions.

This patch also applies to the maint/2.6.29 branch.

[ehabkost: changed pagefault_* to check for RHEL < 5.2 instead of RHEL <= 5.2]
[ehabkost: changed __aligned to check for RHEL <= 5.2 && !defined(__aligned)]
[avi: fix build on pre 2.6.20 but not RHEL]

Signed-off-by: Andrea Arcangeli <aarcange@redhat.com>
Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
kvm/kernel/external-module-compat-comm.h