xref: /linux/rust/helpers/jump_label.c (revision d142ab35ee0b7f9e84115fe3e4c3de4a9ac35f5e)
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 __rust_helper int rust_helper_static_key_count(struct static_key *key)
11 {
12 	return static_key_count(key);
13 }
14 #endif
15