|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] [PATCH 6/7] vm-event/arm: move hvm_event_cr->common vm_event_monitor_cr
On 6/17/2016 11:38 AM, Jan Beulich wrote: On 17.06.16 at 10:25, <czuzu@xxxxxxxxxxxxxxx> wrote:On 6/16/2016 6:16 PM, Jan Beulich wrote:And looking at all the uses of this variable I get the impression that you really want a shorthand for &d->arch.monitor (if any such helper variable is worthwhile to have here in the first place).Well, this was a simple cut-paste operation, not very old content aware :) Personally I prefer the current shorthand (ad) (seems more intuitive and is consistent with the other XEN_DOMCTL_MONITOR_EVENT_* cases), but if you prefer I'll change that shorthand to am = &d->arch.monitor?I'd prefer either no shorthand, or one eliminating the longest common prefix across all uses. am = &d->arch.monitor it is then. --- a/xen/include/asm-x86/monitor.h +++ b/xen/include/asm-x86/monitor.h @@ -24,8 +24,6 @@#include <xen/sched.h> -#define monitor_ctrlreg_bitmask(ctrlreg_index) (1U << (ctrlreg_index)) Ooh, haha, sorry I've re-read your comment now. You're right, there's no point in that change, I'll leave it on the X86 side until the ARM part is actually implemented (last patch). Corneliu. _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxx http://lists.xen.org/xen-devel
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |