]> git.proxmox.com Git - mirror_ubuntu-zesty-kernel.git/blobdiff - arch/powerpc/include/asm/cpuidle.h
powernv:idle: Add IDLE_STATE_ENTER_SEQ_NORET macro
[mirror_ubuntu-zesty-kernel.git] / arch / powerpc / include / asm / cpuidle.h
index 3919332965af04bf98f2b77b7f4ec722d5acf8da..0a3255b12587ce70dea357c534671c9d874a1efc 100644 (file)
@@ -21,7 +21,7 @@ extern u64 pnv_first_deep_stop_state;
 
 /* Idle state entry routines */
 #ifdef CONFIG_PPC_P7_NAP
-#define        IDLE_STATE_ENTER_SEQ(IDLE_INST)                         \
+#define IDLE_STATE_ENTER_SEQ(IDLE_INST)                         \
        /* Magic NAP/SLEEP/WINKLE mode enter sequence */        \
        std     r0,0(r1);                                       \
        ptesync;                                                \
@@ -29,6 +29,9 @@ extern u64 pnv_first_deep_stop_state;
 1:     cmpd    cr0,r0,r0;                                      \
        bne     1b;                                             \
        IDLE_INST;                                              \
+
+#define        IDLE_STATE_ENTER_SEQ_NORET(IDLE_INST)                   \
+       IDLE_STATE_ENTER_SEQ(IDLE_INST)                         \
        b       .
 #endif /* CONFIG_PPC_P7_NAP */