Fix duplicate atomic_t typedef conflicting with types.h
This commit is contained in:
@@ -0,0 +1,18 @@
|
||||
/* SPDX-License-Identifier: GPL-2.0 */
|
||||
#ifndef _FIPS_H
|
||||
#define _FIPS_H
|
||||
|
||||
#ifdef CONFIG_CRYPTO_FIPS
|
||||
extern int fips_enabled;
|
||||
extern struct atomic_notifier_head fips_fail_notif_chain;
|
||||
|
||||
void fips_fail_notify(void);
|
||||
|
||||
#else
|
||||
#define fips_enabled 0
|
||||
|
||||
static inline void fips_fail_notify(void) {}
|
||||
|
||||
#endif
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user