x86/paravirt: Move the pv_irq_ops under the PARAVIRT_XXL umbrella
[linux-block.git] / arch / x86 / kernel / asm-offsets.c
index 0fe233d98d177b92a9aee7fe97bb9998a2eb8240..28e7572ff74d51f358fcf04b39b66affa6bc7023 100644 (file)
@@ -66,9 +66,9 @@ void common(void) {
 
 #ifdef CONFIG_PARAVIRT
        BLANK();
+#ifdef CONFIG_PARAVIRT_XXL
        OFFSET(PV_IRQ_irq_disable, paravirt_patch_template, irq.irq_disable);
        OFFSET(PV_IRQ_irq_enable, paravirt_patch_template, irq.irq_enable);
-#ifdef CONFIG_PARAVIRT_XXL
        OFFSET(PV_CPU_iret, paravirt_patch_template, cpu.iret);
 #endif
        OFFSET(PV_MMU_read_cr2, paravirt_patch_template, mmu.read_cr2);