selftests/powerpc: Fix parse_proc_maps()
authorMichael Ellerman <[email protected]>
Wed, 23 Jul 2014 07:31:32 +0000 (17:31 +1000)
committerBenjamin Herrenschmidt <[email protected]>
Mon, 28 Jul 2014 04:11:28 +0000 (14:11 +1000)
start and end should be unsigned long.

Signed-off-by: Michael Ellerman <[email protected]>
Signed-off-by: Benjamin Herrenschmidt <[email protected]>
tools/testing/selftests/powerpc/pmu/lib.c

index 0f6a4731d546c1132f79f94e65ea241d3f230461..11e26e8cf33a5381bd5c01e0fb7d387cd38d0b82 100644 (file)
@@ -177,8 +177,8 @@ struct addr_range libc, vdso;
 
 int parse_proc_maps(void)
 {
+       unsigned long start, end;
        char execute, name[128];
-       uint64_t start, end;
        FILE *f;
        int rc;