#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 | 29 | 54.72% | 1 | 20.00% |
Ingo Molnar | 14 | 26.42% | 2 | 40.00% |
Jason Baron | 7 | 13.21% | 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 | 37 | 69.81% | 1 | 33.33% |
Jason Baron | 9 | 16.98% | 1 | 33.33% |
Ingo Molnar | 7 | 13.21% | 1 | 33.33% |
Total | 53 | 100.00% | 3 | 100.00% |
Person | Tokens | Prop | Commits | CommitProp |
Peter Zijlstra | 66 | 45.52% | 1 | 16.67% |
David S. Miller | 34 | 23.45% | 1 | 16.67% |
Ingo Molnar | 23 | 15.86% | 2 | 33.33% |
Jason Baron | 16 | 11.03% | 1 | 16.67% |
Anton Blanchard | 6 | 4.14% | 1 | 16.67% |
Total | 145 | 100.00% | 6 | 100.00% |