These changes are the raw update to linux-4.4.6-rt14. Kernel sources
[kvmfornfv.git] / kernel / arch / sh / include / asm / switch_to_32.h
index 0c06551..7661b4b 100644 (file)
@@ -78,6 +78,8 @@ do {                                                          \
                                                                \
        if (is_dsp_enabled(prev))                               \
                __save_dsp(prev);                               \
+       if (is_dsp_enabled(next))                               \
+               __restore_dsp(next);                            \
                                                                \
        __ts1 = (u32 *)&prev->thread.sp;                        \
        __ts2 = (u32 *)&prev->thread.pc;                        \
@@ -125,10 +127,4 @@ do {                                                               \
        last = __last;                                          \
 } while (0)
 
-#define finish_arch_switch(prev)                               \
-do {                                                           \
-       if (is_dsp_enabled(prev))                               \
-               __restore_dsp(prev);                            \
-} while (0)
-
 #endif /* __ASM_SH_SWITCH_TO_32_H */