2130a790ca
Add a simple infrastructure for setting, resetting and querying platform feature flags. Flags can be either global or architecture specific. Signed-off-by: Juergen Gross <jgross@suse.com> Reviewed-by: Oleksandr Tyshchenko <oleksandr_tyshchenko@epam.com> Tested-by: Oleksandr Tyshchenko <oleksandr_tyshchenko@epam.com> # Arm64 only Reviewed-by: Christoph Hellwig <hch@lst.de> Acked-by: Borislav Petkov <bp@suse.de> Signed-off-by: Juergen Gross <jgross@suse.com>
9 lines
242 B
C
9 lines
242 B
C
/* SPDX-License-Identifier: GPL-2.0 */
|
|
#ifndef _ASM_GENERIC_PLATFORM_FEATURE_H
|
|
#define _ASM_GENERIC_PLATFORM_FEATURE_H
|
|
|
|
/* Number of arch specific feature flags. */
|
|
#define PLATFORM_ARCH_FEAT_N 0
|
|
|
|
#endif /* _ASM_GENERIC_PLATFORM_FEATURE_H */
|