path: root/Makefile
diff options
authorIngo Molnar <>2013-04-24 09:26:30 +0200
committerIngo Molnar <>2013-04-26 09:31:41 +0200
commit5ac2b5c2721501a8f5c5e1cd4116cbc31ace6886 (patch)
tree7edd3d6f36b723c717b7cda85e92f4d4111133a8 /Makefile
parent94f4db3590893c600506105b88dab581c7f6f5c8 (diff)
perf/x86/intel/P4: Robistify P4 PMU types
Linus found, while extending integer type extension checks in the sparse static code checker, various fragile patterns of mixed signed/unsigned 64-bit/32-bit integer use in perf_events_p4.c. The relevant hardware register ABI is 64 bit wide on 32-bit kernels as well, so clean it all up a bit, remove unnecessary casts, and make sure we use 64-bit unsigned integers in these places. [ Unfortunately this patch was not tested on real P4 hardware, those are pretty rare already. If this patch causes any problems on P4 hardware then please holler ... ] Reported-by: Linus Torvalds <> Signed-off-by: Ingo Molnar <> Cc: David Miller <> Cc: Theodore Ts'o <> Cc: Oleg Nesterov <> Cc: Frederic Weisbecker <> Cc: Cyrill Gorcunov <> Cc: Peter Zijlstra <> Link: Signed-off-by: Ingo Molnar <>
Diffstat (limited to 'Makefile')
0 files changed, 0 insertions, 0 deletions