]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/blobdiff - arch/arm64/kernel/entry.S
arm64: Add this_cpu_ptr() assembler macro for use in entry.S
[mirror_ubuntu-bionic-kernel.git] / arch / arm64 / kernel / entry.S
index be7ec544b540c58f15f4210538a47f0685dec8e3..e394f8c9595a493f00c083f1d0733ad1fdca5a27 100644 (file)
@@ -179,9 +179,7 @@ alternative_endif
        .macro  irq_stack_entry, dummy_lr
        mov     x19, sp                 // preserve the original sp
 
-       adr_l   x25, irq_stack
-       mrs     x26, tpidr_el1
-       add     x25, x25, x26
+       this_cpu_ptr irq_stack, x25, x26
 
        /*
         * Check the lowest address on irq_stack for the irq_count value,