xref: /linux/rust/helpers/jump_label.c (revision ce4c356d760f6fb22d69f0c5091542891ba6f394)
1 // SPDX-License-Identifier: GPL-2.0
2 
3 /*
4  * Copyright (C) 2024 Google LLC.
5  */
6 
7 #include <linux/jump_label.h>
8 
9 #ifndef CONFIG_JUMP_LABEL
10 int rust_helper_static_key_count(struct static_key *key)
11 {
12 	return static_key_count(key);
13 }
14 #endif
15