x86/resctrl: Simplify rftype flag definitions
mainline inclusion from mainline-v6.7-rc1 commit 6846dc1a31d1894a7acf52d8442fe73b34091022 category: feature bugzilla: https://gitee.com/openeuler/kernel/issues/I8T2RT Reference: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=6846dc1a31d1894a7acf52d8442fe73b34091022 -------------------------------- The rftype flags are bitmaps used for adding files under the resctrl filesystem. Some of these bitmap defines have one extra level of indirection which is not necessary. Drop the RF_* defines and simplify the macros. [ bp: Massage commit message. ] Signed-off-by:Babu Moger <babu.moger@amd.com> Signed-off-by:
Borislav Petkov (AMD) <bp@alien8.de> Reviewed-by:
Peter Newman <peternewman@google.com> Reviewed-by:
Tan Shaopeng <tan.shaopeng@jp.fujitsu.com> Reviewed-by:
Fenghua Yu <fenghua.yu@intel.com> Reviewed-by:
Reinette Chatre <reinette.chatre@intel.com> Reviewed-by:
Ilpo Järvinen <ilpo.jarvinen@linux.intel.com> Tested-by:
Peter Newman <peternewman@google.com> Tested-by:
Tan Shaopeng <tan.shaopeng@jp.fujitsu.com> Link: https://lore.kernel.org/r/20231017002308.134480-3-babu.moger@amd.com Signed-off-by:
Zeng Heng <zengheng4@huawei.com>
Loading
Please sign in to comment