Add SIMD metadata in /proc on Linux follow up

This change accidentally broke the FreeBSD build due to
a conflict between the simd_stat_init()/simd_stat_fini()
macros on FreeBSD and the extern function prototype.

Reviewed-by: Tony Hutter <hutter2@llnl.gov>
Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
Closes #16552
This commit is contained in:
Brian Behlendorf 2024-09-20 15:48:12 -07:00 committed by GitHub
parent 5d01243964
commit f9d4f1b480
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1075,9 +1075,6 @@ EXPORT_SYMBOL(zfs_kfpu_fpregs);
extern int __init zcommon_init(void); extern int __init zcommon_init(void);
extern void zcommon_fini(void); extern void zcommon_fini(void);
extern void simd_stat_init(void);
extern void simd_stat_fini(void);
int __init int __init
zcommon_init(void) zcommon_init(void)
{ {