/* SPDX-License-Identifier: GPL-2.0 */ #ifndef _ASM_SPARC_JUMP_LABEL_H #define _ASM_SPARC_JUMP_LABEL_H #ifndef __ASSEMBLY__ #include <linux/types.h> #define JUMP_LABEL_NOP_SIZE 4
static __always_inline bool arch_static_branch(struct static_key *key, bool branch) { asm_volatile_goto("1:\n\t" "nop\n\t" "nop\n\t" ".pushsection __jump_table, \"aw\"\n\t" ".align 4\n\t" ".word 1b, %l[l_yes], %c0\n\t" ".popsection \n\t" : : "i" (&((char *)key)[branch]) : : l_yes); return false; l_yes: return true; }Contributors
Person | Tokens | Prop | Commits | CommitProp |
Peter Zijlstra | 27 | 50.94% | 1 | 20.00% |
Ingo Molnar | 15 | 28.30% | 2 | 40.00% |
Jason Baron | 8 | 15.09% | 1 | 20.00% |
David S. Miller | 3 | 5.66% | 1 | 20.00% |
Total | 53 | 100.00% | 5 | 100.00% |
Person | Tokens | Prop | Commits | CommitProp |
Peter Zijlstra | 39 | 73.58% | 1 | 33.33% |
Jason Baron | 8 | 15.09% | 1 | 33.33% |
Ingo Molnar | 6 | 11.32% | 1 | 33.33% |
Total | 53 | 100.00% | 3 | 100.00% |
Person | Tokens | Prop | Commits | CommitProp |
Peter Zijlstra | 66 | 45.21% | 1 | 14.29% |
David S. Miller | 34 | 23.29% | 1 | 14.29% |
Ingo Molnar | 23 | 15.75% | 2 | 28.57% |
Jason Baron | 16 | 10.96% | 1 | 14.29% |
Anton Blanchard | 6 | 4.11% | 1 | 14.29% |
Greg Kroah-Hartman | 1 | 0.68% | 1 | 14.29% |
Total | 146 | 100.00% | 7 | 100.00% |