From: Jon Ludlam Date: Mon, 10 Oct 2011 15:41:16 +0000 (+0100) Subject: tools/ocaml: Fix 2 bit-twiddling bugs and an off-by-one X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=542a913b88b7be95462e0c9e5f57b744e7b8b010;p=xen.git tools/ocaml: Fix 2 bit-twiddling bugs and an off-by-one The bit bugs are in ocaml vcpu affinity calls, and the off-by-one error is in the ocaml console ring code Signed-off-by: Zheng Li Acked-by: Ian Campbell Committed-by: Ian Jackson Acked-by: Jon Ludlam --- diff --git a/tools/ocaml/libs/xc/xenctrl_stubs.c b/tools/ocaml/libs/xc/xenctrl_stubs.c index b57b50cb17..03923e8c6a 100644 --- a/tools/ocaml/libs/xc/xenctrl_stubs.c +++ b/tools/ocaml/libs/xc/xenctrl_stubs.c @@ -430,7 +430,7 @@ CAMLprim value stub_xc_vcpu_setaffinity(value xch, value domid, for (i=0; i