1 /* SPDX-License-Identifier: GPL-2.0 */
2 #ifndef _PLATFORM_FEATURE_H
3 #define _PLATFORM_FEATURE_H
5 #include <linux/bitops.h>
6 #include <asm/platform-feature.h>
8 /* The platform features are starting with the architecture specific ones. */
9 #define PLATFORM_FEAT_N (0 + PLATFORM_ARCH_FEAT_N)
11 void platform_set(unsigned int feature);
12 void platform_clear(unsigned int feature);
13 bool platform_has(unsigned int feature);
15 #endif /* _PLATFORM_FEATURE_H */