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>