aboutsummaryrefslogtreecommitdiff
path: root/kvm/kernel/ia64/external-module-compat.h
blob: 3c4001c1ce22ffe936cef20436d0360299f67c1a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
/*
 * Compatibility header for building as an external module.
 */

#include <linux/version.h>

#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,26)
#error "KVM/IA-64 Can't be compiled if kernel version < 2.6.26"
#endif

#ifndef CONFIG_PREEMPT_NOTIFIERS
/*Now, Just print an error message if no preempt notifiers configured!!
  TODO: Implement it later! */
#error "KVM/IA-64 depends on preempt notifiers in kernel."
#endif