]> bbs.cooldavid.org Git - net-next-2.6.git/commit
perf_counter, x86: consistent use of type int for counter index
authorRobert Richter <robert.richter@amd.com>
Wed, 29 Apr 2009 10:47:17 +0000 (12:47 +0200)
committerIngo Molnar <mingo@elte.hu>
Wed, 29 Apr 2009 12:51:10 +0000 (14:51 +0200)
commit6f00cada07bb5da7f751929d3173494dcc5446cc
treefa7b03e4812a2847d54fd0443284b748f4ca0d62
parent095342389e2ed8deed07b3076f990260ce3c7c9f
perf_counter, x86: consistent use of type int for counter index

The type of counter index is sometimes implemented as unsigned
int. This patch changes this to have a consistent usage of int.

[ Impact: cleanup ]

Signed-off-by: Robert Richter <robert.richter@amd.com>
Cc: Paul Mackerras <paulus@samba.org>
Acked-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
LKML-Reference: <1241002046-8832-21-git-send-email-robert.richter@amd.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
arch/x86/kernel/cpu/perf_counter.c
include/linux/perf_counter.h