diff options
Diffstat (limited to 'arch/powerpc/kernel/power5-pmu.c')
-rw-r--r-- | arch/powerpc/kernel/power5-pmu.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/powerpc/kernel/power5-pmu.c b/arch/powerpc/kernel/power5-pmu.c index d5344968ee9c..1b44c5fca189 100644 --- a/arch/powerpc/kernel/power5-pmu.c +++ b/arch/powerpc/kernel/power5-pmu.c | |||
@@ -250,7 +250,7 @@ static const unsigned char bytedecode_alternatives[4][4] = { | |||
250 | * PMCSEL values on other counters. This returns the alternative | 250 | * PMCSEL values on other counters. This returns the alternative |
251 | * event code for those that do, or -1 otherwise. | 251 | * event code for those that do, or -1 otherwise. |
252 | */ | 252 | */ |
253 | static u64 find_alternative_bdecode(u64 event) | 253 | static s64 find_alternative_bdecode(u64 event) |
254 | { | 254 | { |
255 | int pmc, altpmc, pp, j; | 255 | int pmc, altpmc, pp, j; |
256 | 256 | ||
@@ -272,7 +272,7 @@ static u64 find_alternative_bdecode(u64 event) | |||
272 | static int power5_get_alternatives(u64 event, unsigned int flags, u64 alt[]) | 272 | static int power5_get_alternatives(u64 event, unsigned int flags, u64 alt[]) |
273 | { | 273 | { |
274 | int i, j, nalt = 1; | 274 | int i, j, nalt = 1; |
275 | u64 ae; | 275 | s64 ae; |
276 | 276 | ||
277 | alt[0] = event; | 277 | alt[0] = event; |
278 | nalt = 1; | 278 | nalt = 1; |