This define was added in kernel 4.9 and is used by mac80211 now. The code was copied from the upstream kernel. Signed-off-by: Hauke Mehrtens <hauke@xxxxxxxxxx> --- backport/backport-include/linux/jump_label.h | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 backport/backport-include/linux/jump_label.h diff --git a/backport/backport-include/linux/jump_label.h b/backport/backport-include/linux/jump_label.h new file mode 100644 index 00000000..43608fa0 --- /dev/null +++ b/backport/backport-include/linux/jump_label.h @@ -0,0 +1,10 @@ +#ifndef __BACKPORT_LINUX_JUMP_LABEL_H +#define __BACKPORT_LINUX_JUMP_LABEL_H +#include_next <linux/jump_label.h> + +#ifndef DECLARE_STATIC_KEY_FALSE +#define DECLARE_STATIC_KEY_FALSE(name) \ + extern struct static_key_false name +#endif + +#endif /* __BACKPORT_LINUX_JUMP_LABEL_H */ -- 2.30.2 -- To unsubscribe from this list: send the line "unsubscribe backports" in