Skip to content
  • Arnd Bergmann's avatar
    Xen: do hv callback accounting only on x86 · d06eb3ee
    Arnd Bergmann authored
    Patch 99c8b79d
    
     "xen: Add proper irq accounting for HYPERCALL vector"
    added a call to inc_irq_stat(irq_hv_callback_count) in common Xen code,
    however both the inc_irq_stat function and the irq_hv_callback_count
    counter are architecture specific.
    
    This makes the code build again on ARM by moving the call into the
    existing #ifdef CONFIG_X86. We may want to later do the same implementation
    on ARM that x86 has though.
    
    Signed-off-by: default avatarArnd Bergmann <arnd@arndb.de>
    Signed-off-by: default avatarDavid Vrabel <david.vrabel@citrix.com>
    Cc: Thomas Gleixner <tglx@linutronix.de>
    Cc: Peter Zijlstra <peterz@infradead.org>
    Cc: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
    Cc: Xen <xen-devel@lists.xenproject.org>
    d06eb3ee