File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -45,7 +45,6 @@ extern void fpsimd_preserve_current_state(void);
45
45
extern void fpsimd_restore_current_state (void );
46
46
extern void fpsimd_update_current_state (struct user_fpsimd_state const * state );
47
47
48
- extern void fpsimd_bind_task_to_cpu (void );
49
48
extern void fpsimd_bind_state_to_cpu (struct user_fpsimd_state * state ,
50
49
void * sve_state , unsigned int sve_vl );
51
50
Original file line number Diff line number Diff line change @@ -162,6 +162,8 @@ extern void __percpu *efi_sve_state;
162
162
DEFINE_PER_CPU (bool , fpsimd_context_busy );
163
163
EXPORT_PER_CPU_SYMBOL (fpsimd_context_busy );
164
164
165
+ static void fpsimd_bind_task_to_cpu (void );
166
+
165
167
static void __get_cpu_fpsimd_context (void )
166
168
{
167
169
bool busy = __this_cpu_xchg (fpsimd_context_busy , true);
@@ -1112,7 +1114,7 @@ void fpsimd_signal_preserve_current_state(void)
1112
1114
* The caller must have ownership of the cpu FPSIMD context before calling
1113
1115
* this function.
1114
1116
*/
1115
- void fpsimd_bind_task_to_cpu (void )
1117
+ static void fpsimd_bind_task_to_cpu (void )
1116
1118
{
1117
1119
struct fpsimd_last_state_struct * last =
1118
1120
this_cpu_ptr (& fpsimd_last_state );
You can’t perform that action at this time.
0 commit comments