... as it is not implemented on it.
Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Reviewed-by: Andrew Cooper <andrew.cooper3@citrix.com>
Acked-by: Wei Liu <wei.liu2@citrix.com>
Release-acked-by: Wei Liu <wei.liu2@citrix.com>
{
CAMLparam2(xch, idx);
CAMLlocal1(bitmap_val);
+#if defined(__i386__) || defined(__x86_64__)
/* Safe, because of the global ocaml lock. */
static uint32_t fs_len;
for (i = 0; i < len; ++i)
Store_field(bitmap_val, i, caml_copy_int64(fs[i]));
}
-
+#else
+ caml_failwith("xc_get_cpu_featureset: not implemented");
+#endif
CAMLreturn(bitmap_val);
}