Commit 708e5978 authored by Rabin Vincent's avatar Rabin Vincent Committed by Russell King
Browse files

ARM: 7386/1: jump_label: fixup for rename to static_key


 ("static keys: Introduce 'struct static_key'...") renamed
struct jump_label_key to struct static_key.  Fixup ARM for this to
eliminate these build warnings:

  warning: passing argument 1 of 'arch_static_branch' from incompatible pointer type
  note: expected 'struct jump_label_key *' but argument is of type 'struct static_key *'
Signed-off-by: default avatarRabin Vincent <>
Signed-off-by: default avatarRussell King <>
parent 078c0454
......@@ -14,7 +14,7 @@
#define JUMP_LABEL_NOP "nop"
static __always_inline bool arch_static_branch(struct jump_label_key *key)
static __always_inline bool arch_static_branch(struct static_key *key)
asm goto("1:\n\t"
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment