aboutsummaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorVikas Shivappa <[email protected]>2017-07-25 14:14:33 -0700
committerThomas Gleixner <[email protected]>2017-08-01 22:41:24 +0200
commit0734ded1abee9439b0c5d7b62af1ead78aab895b (patch)
tree9ccc5fb632c419ca1deb1bfd05f2d7ca8b2438d5 /include/linux
parentc7d9aac6131148abe29ed1dc6bd73ad1213d1f56 (diff)
x86/intel_rdt: Change closid type from int to u32
OS associates a CLOSid(Class of service id) to a task by writing the high 32 bits of per CPU IA32_PQR_ASSOC MSR when a task is scheduled in. CPUID.(EAX=10H, ECX=1):EDX[15:0] enumerates the max CLOSID supported and it is zero indexed. Hence change the type to u32 from int. Signed-off-by: Vikas Shivappa <[email protected]> Signed-off-by: Thomas Gleixner <[email protected]> Cc: [email protected] Cc: [email protected] Cc: [email protected] Cc: [email protected] Cc: [email protected] Cc: [email protected] Cc: [email protected] Cc: [email protected] Cc: [email protected] Link: http://lkml.kernel.org/r/1501017287-28083-15-git-send-email-vikas.shivappa@linux.intel.com
Diffstat (limited to 'include/linux')
-rw-r--r--include/linux/sched.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/sched.h b/include/linux/sched.h
index 20b2ff2f4fde..8839fd09540c 100644
--- a/include/linux/sched.h
+++ b/include/linux/sched.h
@@ -899,7 +899,7 @@ struct task_struct {
struct list_head cg_list;
#endif
#ifdef CONFIG_INTEL_RDT
- int closid;
+ u32 closid;
#endif
#ifdef CONFIG_FUTEX
struct robust_list_head __user *robust_list;