Loading include/asm-sh/thread_info.h +4 −2 Original line number Diff line number Diff line Loading @@ -74,8 +74,10 @@ register unsigned long current_stack_pointer asm("r15") __attribute_used__; static inline struct thread_info *current_thread_info(void) { struct thread_info *ti; #ifdef CONFIG_CPU_HAS_SR_RB __asm__("stc r7_bank, %0" : "=r" (ti)); #if defined(CONFIG_SUPERH64) __asm__ __volatile__ ("getcon cr17, %0" : "=r" (ti)); #elif defined(CONFIG_CPU_HAS_SR_RB) __asm__ __volatile__ ("stc r7_bank, %0" : "=r" (ti)); #else unsigned long __dummy; Loading Loading
include/asm-sh/thread_info.h +4 −2 Original line number Diff line number Diff line Loading @@ -74,8 +74,10 @@ register unsigned long current_stack_pointer asm("r15") __attribute_used__; static inline struct thread_info *current_thread_info(void) { struct thread_info *ti; #ifdef CONFIG_CPU_HAS_SR_RB __asm__("stc r7_bank, %0" : "=r" (ti)); #if defined(CONFIG_SUPERH64) __asm__ __volatile__ ("getcon cr17, %0" : "=r" (ti)); #elif defined(CONFIG_CPU_HAS_SR_RB) __asm__ __volatile__ ("stc r7_bank, %0" : "=r" (ti)); #else unsigned long __dummy; Loading