diff options
author | Thomas Gleixner <tglx@linutronix.de> | 2019-07-18 20:50:48 +0200 |
---|---|---|
committer | Thomas Gleixner <tglx@linutronix.de> | 2019-07-18 20:50:48 +0200 |
commit | 54f698f31e595f3f0caf28bfe2bde0c3373f9a60 (patch) | |
tree | 143df87eb2e09ccf20e0eff0890685ac5fbca431 /kernel | |
parent | stacktrace: Force USER_DS for stack_trace_save_user() (diff) | |
parent | bpf: Fix ORC unwinding in non-JIT BPF code (diff) | |
download | linux-54f698f31e595f3f0caf28bfe2bde0c3373f9a60.tar.xz linux-54f698f31e595f3f0caf28bfe2bde0c3373f9a60.zip |
Merge branch 'x86/debug' into core/urgent
Pick up the two pending objtool patches as the next round of objtool fixes
depend on them.
Diffstat (limited to 'kernel')
-rw-r--r-- | kernel/bpf/core.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/kernel/bpf/core.c b/kernel/bpf/core.c index 16079550db6d..7e98f36a14e2 100644 --- a/kernel/bpf/core.c +++ b/kernel/bpf/core.c @@ -1299,7 +1299,7 @@ static u64 ___bpf_prog_run(u64 *regs, const struct bpf_insn *insn, u64 *stack) { #define BPF_INSN_2_LBL(x, y) [BPF_##x | BPF_##y] = &&x##_##y #define BPF_INSN_3_LBL(x, y, z) [BPF_##x | BPF_##y | BPF_##z] = &&x##_##y##_##z - static const void *jumptable[256] = { + static const void * const jumptable[256] __annotate_jump_table = { [0 ... 255] = &&default_label, /* Now overwrite non-defaults ... */ BPF_INSN_MAP(BPF_INSN_2_LBL, BPF_INSN_3_LBL), @@ -1558,7 +1558,6 @@ out: BUG_ON(1); return 0; } -STACK_FRAME_NON_STANDARD(___bpf_prog_run); /* jump table */ #define PROG_NAME(stack_size) __bpf_prog_run##stack_size #define DEFINE_BPF_PROG_RUN(stack_size) \ |