# HG changeset patch # User dietmar.hahn@xxxxxxxxxxxxxxxxxxx # Node ID 87ff9310ce082454ae91d4939b888180d7b5b04b # Parent 3df04f34c4aa7679bf30a7fe6b46d8ccc0a004da Added the usage of the new hypervisor call HYPERVISOR_opt_feature(). Signed-off-by: Dietmar Hahn diff -r 3df04f34c4aa -r 87ff9310ce08 arch/ia64/xen/xcom_hcall.c --- a/arch/ia64/xen/xcom_hcall.c Mon Jun 18 13:59:27 2007 -0600 +++ b/arch/ia64/xen/xcom_hcall.c Thu Jun 28 14:30:52 2007 +0200 @@ -397,6 +397,13 @@ xencomm_hypercall_vcpu_op(int cmd, int c xencomm_create_inline(arg)); } +long +xencomm_hypercall_opt_feature(unsigned long cmd, void *arg) +{ + return xencomm_arch_hypercall_opt_feature(cmd, + xencomm_create_inline(arg)); +} + int xencomm_hypercall_fpswa_revision(unsigned int *revision) { diff -r 3df04f34c4aa -r 87ff9310ce08 drivers/xen/core/features.c --- a/drivers/xen/core/features.c Mon Jun 18 13:59:27 2007 -0600 +++ b/drivers/xen/core/features.c Thu Jun 28 14:30:52 2007 +0200 @@ -8,12 +8,14 @@ #include #include #include +#include #include #include #ifdef HAVE_XEN_PLATFORM_COMPAT_H #include #endif + u8 xen_features[XENFEAT_NR_SUBMAPS * 32] __read_mostly; /* Not a GPL symbol: used in ubiquitous macros, so too restrictive. */ @@ -31,4 +33,11 @@ void setup_xen_features(void) for (j=0; j<32; j++) xen_features[i*32+j] = !!(fi.submap & 1<