[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] [PATCH v2 4/4] xen/arm: compile and run libxl/xl
On Wed, 2013-01-16 at 18:58 +0000, Stefano Stabellini wrote: > + switch (d_config->b_info.tsc_mode) { > + case LIBXL_TSC_MODE_DEFAULT: > + tsc_mode = 0; > + break; > + case LIBXL_TSC_MODE_ALWAYS_EMULATE: > + tsc_mode = 1; > + break; > + case LIBXL_TSC_MODE_NATIVE: > + tsc_mode = 2; > + break; > + case LIBXL_TSC_MODE_NATIVE_PARAVIRT: > + tsc_mode = 3; > + break; > + default: > + abort(); > + } This is a very verbose way to write tsc_mode = d_config->b_info.tsc_mode since the enum has the same values, but since this is code motion and since I probably wrote the original: Acked-by: Ian Campbell <ian.campbell@xxxxxxxxxx> _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxx http://lists.xen.org/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |