diff options
author | Juergen Gross <jgross@suse.com> | 2022-06-02 15:05:26 +0200 |
---|---|---|
committer | Juergen Gross <jgross@suse.com> | 2022-06-06 08:06:00 +0200 |
commit | 2130a790ca49763f724ec45cf93b9dd765e2023e (patch) | |
tree | bcb5b510df4a6c9ab4d1f8dc1f4b0eb0831f7161 /kernel/Makefile | |
parent | Linux 5.19-rc1 (diff) | |
download | linux-2130a790ca49763f724ec45cf93b9dd765e2023e.tar.xz linux-2130a790ca49763f724ec45cf93b9dd765e2023e.zip |
kernel: add platform_has() infrastructure
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>
Diffstat (limited to 'kernel/Makefile')
-rw-r--r-- | kernel/Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/Makefile b/kernel/Makefile index 318789c728d3..a7e1f49ab2b3 100644 --- a/kernel/Makefile +++ b/kernel/Makefile @@ -7,7 +7,7 @@ obj-y = fork.o exec_domain.o panic.o \ cpu.o exit.o softirq.o resource.o \ sysctl.o capability.o ptrace.o user.o \ signal.o sys.o umh.o workqueue.o pid.o task_work.o \ - extable.o params.o \ + extable.o params.o platform-feature.o \ kthread.o sys_ni.o nsproxy.o \ notifier.o ksysfs.o cred.o reboot.o \ async.o range.o smpboot.o ucount.o regset.o |