selftests/powerpc: Fix parse_proc_maps()
authorMichael Ellerman <mpe@ellerman.id.au>
Wed, 23 Jul 2014 07:31:32 +0000 (17:31 +1000)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Mon, 28 Jul 2014 04:11:28 +0000 (14:11 +1000)
start and end should be unsigned long.

Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
tools/testing/selftests/powerpc/pmu/lib.c

index 0f6a473..11e26e8 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;