Skip to content

Commit 8dd97c6

Browse files
rchatresuryasaimadhu
authored andcommitted
x86/resctrl: Rename asm/resctrl_sched.h to asm/resctrl.h
asm/resctrl_sched.h is dedicated to the code used for configuration of the CPU resource control state when a task is scheduled. Rename resctrl_sched.h to resctrl.h in preparation of additions that will no longer make this file dedicated to work done during scheduling. No functional change. Suggested-by: Borislav Petkov <[email protected]> Signed-off-by: Reinette Chatre <[email protected]> Signed-off-by: Borislav Petkov <[email protected]> Link: https://lkml.kernel.org/r/6914e0ef880b539a82a6d889f9423496d471ad1d.1588715690.git.reinette.chatre@intel.com
1 parent 0e698df commit 8dd97c6

File tree

7 files changed

+9
-9
lines changed

7 files changed

+9
-9
lines changed

MAINTAINERS

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14227,7 +14227,7 @@ M: Reinette Chatre <[email protected]>
1422714227
1422814228
S: Supported
1422914229
F: Documentation/x86/resctrl*
14230-
F: arch/x86/include/asm/resctrl_sched.h
14230+
F: arch/x86/include/asm/resctrl.h
1423114231
F: arch/x86/kernel/cpu/resctrl/
1423214232
F: tools/testing/selftests/resctrl/
1423314233

arch/x86/include/asm/resctrl_sched.h renamed to arch/x86/include/asm/resctrl.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/* SPDX-License-Identifier: GPL-2.0 */
2-
#ifndef _ASM_X86_RESCTRL_SCHED_H
3-
#define _ASM_X86_RESCTRL_SCHED_H
2+
#ifndef _ASM_X86_RESCTRL_H
3+
#define _ASM_X86_RESCTRL_H
44

55
#ifdef CONFIG_X86_CPU_RESCTRL
66

@@ -90,4 +90,4 @@ static inline void resctrl_sched_in(void) {}
9090

9191
#endif /* CONFIG_X86_CPU_RESCTRL */
9292

93-
#endif /* _ASM_X86_RESCTRL_SCHED_H */
93+
#endif /* _ASM_X86_RESCTRL_H */

arch/x86/kernel/cpu/resctrl/core.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
#include <linux/cpuhotplug.h>
2323

2424
#include <asm/intel-family.h>
25-
#include <asm/resctrl_sched.h>
25+
#include <asm/resctrl.h>
2626
#include "internal.h"
2727

2828
/* Mutex to protect rdtgroup access. */

arch/x86/kernel/cpu/resctrl/pseudo_lock.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424

2525
#include <asm/cacheflush.h>
2626
#include <asm/intel-family.h>
27-
#include <asm/resctrl_sched.h>
27+
#include <asm/resctrl.h>
2828
#include <asm/perf_event.h>
2929

3030
#include "../../events/perf_event.h" /* For X86_CONFIG() */

arch/x86/kernel/cpu/resctrl/rdtgroup.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929

3030
#include <uapi/linux/magic.h>
3131

32-
#include <asm/resctrl_sched.h>
32+
#include <asm/resctrl.h>
3333
#include "internal.h"
3434

3535
DEFINE_STATIC_KEY_FALSE(rdt_enable_key);

arch/x86/kernel/process_32.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@
5252
#include <asm/debugreg.h>
5353
#include <asm/switch_to.h>
5454
#include <asm/vm86.h>
55-
#include <asm/resctrl_sched.h>
55+
#include <asm/resctrl.h>
5656
#include <asm/proto.h>
5757

5858
#include "process.h"

arch/x86/kernel/process_64.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@
5252
#include <asm/switch_to.h>
5353
#include <asm/xen/hypervisor.h>
5454
#include <asm/vdso.h>
55-
#include <asm/resctrl_sched.h>
55+
#include <asm/resctrl.h>
5656
#include <asm/unistd.h>
5757
#include <asm/fsgsbase.h>
5858
#ifdef CONFIG_IA32_EMULATION

0 commit comments

Comments
 (0)