Loading Makefile +1 −1 Original line number Diff line number Diff line # SPDX-License-Identifier: GPL-2.0 VERSION = 4 PATCHLEVEL = 14 SUBLEVEL = 74 SUBLEVEL = 76 EXTRAVERSION = NAME = Petit Gorille Loading arch/arc/include/asm/atomic.h +1 −1 Original line number Diff line number Diff line Loading @@ -84,7 +84,7 @@ static inline int atomic_fetch_##op(int i, atomic_t *v) \ "1: llock %[orig], [%[ctr]] \n" \ " " #asm_op " %[val], %[orig], %[i] \n" \ " scond %[val], [%[ctr]] \n" \ " \n" \ " bnz 1b \n" \ : [val] "=&r" (val), \ [orig] "=&r" (orig) \ : [ctr] "r" (&v->counter), \ Loading arch/arc/kernel/process.c +20 −0 Original line number Diff line number Diff line Loading @@ -241,6 +241,26 @@ int copy_thread(unsigned long clone_flags, task_thread_info(current)->thr_ptr; } /* * setup usermode thread pointer #1: * when child is picked by scheduler, __switch_to() uses @c_callee to * populate usermode callee regs: this works (despite being in a kernel * function) since special return path for child @ret_from_fork() * ensures those regs are not clobbered all the way to RTIE to usermode */ c_callee->r25 = task_thread_info(p)->thr_ptr; #ifdef CONFIG_ARC_CURR_IN_REG /* * setup usermode thread pointer #2: * however for this special use of r25 in kernel, __switch_to() sets * r25 for kernel needs and only in the final return path is usermode * r25 setup, from pt_regs->user_r25. So set that up as well */ c_regs->user_r25 = c_callee->r25; #endif return 0; } Loading arch/arm64/include/asm/jump_label.h +2 −2 Original line number Diff line number Diff line Loading @@ -28,7 +28,7 @@ static __always_inline bool arch_static_branch(struct static_key *key, bool branch) { asm goto("1: nop\n\t" asm_volatile_goto("1: nop\n\t" ".pushsection __jump_table, \"aw\"\n\t" ".align 3\n\t" ".quad 1b, %l[l_yes], %c0\n\t" Loading @@ -42,7 +42,7 @@ static __always_inline bool arch_static_branch(struct static_key *key, bool bran static __always_inline bool arch_static_branch_jump(struct static_key *key, bool branch) { asm goto("1: b %l[l_yes]\n\t" asm_volatile_goto("1: b %l[l_yes]\n\t" ".pushsection __jump_table, \"aw\"\n\t" ".align 3\n\t" ".quad 1b, %l[l_yes], %c0\n\t" Loading arch/hexagon/include/asm/bitops.h +2 −2 Original line number Diff line number Diff line Loading @@ -211,7 +211,7 @@ static inline long ffz(int x) * This is defined the same way as ffs. * Note fls(0) = 0, fls(1) = 1, fls(0x80000000) = 32. */ static inline long fls(int x) static inline int fls(int x) { int r; Loading @@ -232,7 +232,7 @@ static inline long fls(int x) * the libc and compiler builtin ffs routines, therefore * differs in spirit from the above ffz (man ffs). */ static inline long ffs(int x) static inline int ffs(int x) { int r; Loading Loading
Makefile +1 −1 Original line number Diff line number Diff line # SPDX-License-Identifier: GPL-2.0 VERSION = 4 PATCHLEVEL = 14 SUBLEVEL = 74 SUBLEVEL = 76 EXTRAVERSION = NAME = Petit Gorille Loading
arch/arc/include/asm/atomic.h +1 −1 Original line number Diff line number Diff line Loading @@ -84,7 +84,7 @@ static inline int atomic_fetch_##op(int i, atomic_t *v) \ "1: llock %[orig], [%[ctr]] \n" \ " " #asm_op " %[val], %[orig], %[i] \n" \ " scond %[val], [%[ctr]] \n" \ " \n" \ " bnz 1b \n" \ : [val] "=&r" (val), \ [orig] "=&r" (orig) \ : [ctr] "r" (&v->counter), \ Loading
arch/arc/kernel/process.c +20 −0 Original line number Diff line number Diff line Loading @@ -241,6 +241,26 @@ int copy_thread(unsigned long clone_flags, task_thread_info(current)->thr_ptr; } /* * setup usermode thread pointer #1: * when child is picked by scheduler, __switch_to() uses @c_callee to * populate usermode callee regs: this works (despite being in a kernel * function) since special return path for child @ret_from_fork() * ensures those regs are not clobbered all the way to RTIE to usermode */ c_callee->r25 = task_thread_info(p)->thr_ptr; #ifdef CONFIG_ARC_CURR_IN_REG /* * setup usermode thread pointer #2: * however for this special use of r25 in kernel, __switch_to() sets * r25 for kernel needs and only in the final return path is usermode * r25 setup, from pt_regs->user_r25. So set that up as well */ c_regs->user_r25 = c_callee->r25; #endif return 0; } Loading
arch/arm64/include/asm/jump_label.h +2 −2 Original line number Diff line number Diff line Loading @@ -28,7 +28,7 @@ static __always_inline bool arch_static_branch(struct static_key *key, bool branch) { asm goto("1: nop\n\t" asm_volatile_goto("1: nop\n\t" ".pushsection __jump_table, \"aw\"\n\t" ".align 3\n\t" ".quad 1b, %l[l_yes], %c0\n\t" Loading @@ -42,7 +42,7 @@ static __always_inline bool arch_static_branch(struct static_key *key, bool bran static __always_inline bool arch_static_branch_jump(struct static_key *key, bool branch) { asm goto("1: b %l[l_yes]\n\t" asm_volatile_goto("1: b %l[l_yes]\n\t" ".pushsection __jump_table, \"aw\"\n\t" ".align 3\n\t" ".quad 1b, %l[l_yes], %c0\n\t" Loading
arch/hexagon/include/asm/bitops.h +2 −2 Original line number Diff line number Diff line Loading @@ -211,7 +211,7 @@ static inline long ffz(int x) * This is defined the same way as ffs. * Note fls(0) = 0, fls(1) = 1, fls(0x80000000) = 32. */ static inline long fls(int x) static inline int fls(int x) { int r; Loading @@ -232,7 +232,7 @@ static inline long fls(int x) * the libc and compiler builtin ffs routines, therefore * differs in spirit from the above ffz (man ffs). */ static inline long ffs(int x) static inline int ffs(int x) { int r; Loading