virtio: replace restricted mem access flag with callback
[linux-2.6-microblaze.git] / include / linux / platform-feature.h
1 /* SPDX-License-Identifier: GPL-2.0 */
2 #ifndef _PLATFORM_FEATURE_H
3 #define _PLATFORM_FEATURE_H
4
5 #include <linux/bitops.h>
6 #include <asm/platform-feature.h>
7
8 /* The platform features are starting with the architecture specific ones. */
9 #define PLATFORM_FEAT_N                         (0 + PLATFORM_ARCH_FEAT_N)
10
11 void platform_set(unsigned int feature);
12 void platform_clear(unsigned int feature);
13 bool platform_has(unsigned int feature);
14
15 #endif /* _PLATFORM_FEATURE_H */