1
#ifndef _ASM_S390_JUMP_LABEL_H
2
#define _ASM_S390_JUMP_LABEL_H
4
#include <linux/types.h>
6
#define JUMP_LABEL_NOP_SIZE 6
9
#define ASM_PTR ".quad"
10
#define ASM_ALIGN ".balign 8"
12
#define ASM_PTR ".long"
13
#define ASM_ALIGN ".balign 4"
16
static __always_inline bool arch_static_branch(struct jump_label_key *key)
18
asm goto("0: brcl 0,0\n"
19
".pushsection __jump_table, \"aw\"\n"
21
ASM_PTR " 0b, %l[label], %0\n"
23
: : "X" (key) : : label);
29
typedef unsigned long jump_label_t;