tools: Consolidate types.h
[cascardo/linux.git] / tools / perf / tests / attr.c
index 038de3e..2dfc9ad 100644 (file)
@@ -1,4 +1,3 @@
-
 /*
  * The struct perf_event_attr test support.
  *
  * permissions. All the event text files are stored there.
  */
 
-/*
- * Powerpc needs __SANE_USERSPACE_TYPES__ before <linux/types.h> to select
- * 'int-ll64.h' and avoid compile warnings when printing __u64 with %llu.
- */
-#define __SANE_USERSPACE_TYPES__
 #include <stdlib.h>
 #include <stdio.h>
-#include <inttypes.h>
 #include <linux/types.h>
 #include <linux/kernel.h>
 #include "../perf.h"
@@ -178,6 +171,6 @@ int test__attr(void)
            !lstat(path_perf, &st))
                return run_dir(path_dir, path_perf);
 
-       fprintf(stderr, " (ommitted)");
+       fprintf(stderr, " (omitted)");
        return 0;
 }