perf/x86/intel/cqm: Use 'u32' data type for RMIDs
authorMatt Fleming <matt.fleming@intel.com>
Fri, 22 May 2015 08:59:42 +0000 (09:59 +0100)
committerIngo Molnar <mingo@kernel.org>
Wed, 27 May 2015 07:17:41 +0000 (09:17 +0200)
commitadafa99960ef18b019f001ddee4d9d81c4e25944
treed11d9c9cec6d1b983d82f3971f0c262defd74807
parentbf926731e1585ccad029ca2fad1444fee082b78d
perf/x86/intel/cqm: Use 'u32' data type for RMIDs

Since we write RMID values to MSRs the correct type to use is 'u32'
because that clearly articulates we're writing a hardware register
value.

Fix up all uses of RMID in this code to consistently use the correct data
type.

Reported-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Matt Fleming <matt.fleming@intel.com>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Acked-by: Thomas Gleixner <tglx@linutronix.de>
Cc: Kanaka Juvva <kanaka.d.juvva@intel.com>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Vikas Shivappa <vikas.shivappa@linux.intel.com>
Cc: Will Auld <will.auld@intel.com>
Link: http://lkml.kernel.org/r/1432285182-17180-1-git-send-email-matt@codeblueprint.co.uk
Signed-off-by: Ingo Molnar <mingo@kernel.org>
arch/x86/kernel/cpu/perf_event_intel_cqm.c
This page took 0.026263 seconds and 5 git commands to generate.