qubes-linux-kernel/patches.xen/xen-kconfig-compat
2010-07-07 13:12:45 +02:00

33 lines
1012 B
Plaintext

From: jbeulich@novell.com
Subject: add backward-compatibility configure options
Patch-mainline: n/a
--- head-2010-03-24.orig/drivers/xen/Kconfig 2010-03-31 14:08:50.000000000 +0200
+++ head-2010-03-24/drivers/xen/Kconfig 2010-03-31 14:09:58.000000000 +0200
@@ -321,6 +321,15 @@ choice
config XEN_COMPAT_030100_AND_LATER
bool "3.1.0 and later"
+ config XEN_COMPAT_030200_AND_LATER
+ bool "3.2.0 and later"
+
+ config XEN_COMPAT_030300_AND_LATER
+ bool "3.3.0 and later"
+
+ config XEN_COMPAT_030400_AND_LATER
+ bool "3.4.0 and later"
+
config XEN_COMPAT_LATEST_ONLY
bool "no compatibility code"
@@ -329,6 +338,9 @@ endchoice
config XEN_COMPAT
hex
default 0xffffff if XEN_COMPAT_LATEST_ONLY
+ default 0x030400 if XEN_COMPAT_030400_AND_LATER
+ default 0x030300 if XEN_COMPAT_030300_AND_LATER
+ default 0x030200 if XEN_COMPAT_030200_AND_LATER
default 0x030100 if XEN_COMPAT_030100_AND_LATER
default 0x030004 if XEN_COMPAT_030004_AND_LATER
default 0x030002 if XEN_COMPAT_030002_AND_LATER