summaryrefslogtreecommitdiffstats
path: root/include/linux/pmu.h
diff options
context:
space:
mode:
authorDavid Howells <dhowells@redhat.com>2011-12-13 09:26:45 +0000
committerDavid Howells <dhowells@redhat.com>2011-12-13 09:26:45 +0000
commit6c9f2ef9b5b3a84952ba2f99472f82e3398ac3e9 (patch)
treee2c2288b9bfc4488111bffb43de9908738942425 /include/linux/pmu.h
parentc15a48d60697f06a847c5862b94a6e24d1b48a7b (diff)
downloadop-kernel-dev-6c9f2ef9b5b3a84952ba2f99472f82e3398ac3e9.zip
op-kernel-dev-6c9f2ef9b5b3a84952ba2f99472f82e3398ac3e9.tar.gz
UAPI: Guard linux/pmu.h
Place reinclusion guards on linux/pmu.h otherwise the UAPI splitter won't insert the #include to include the UAPI header from the kernel header. Signed-off-by: David Howells <dhowells@redhat.com>
Diffstat (limited to 'include/linux/pmu.h')
-rw-r--r--include/linux/pmu.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/linux/pmu.h b/include/linux/pmu.h
index cafe98d..84e6a55 100644
--- a/include/linux/pmu.h
+++ b/include/linux/pmu.h
@@ -6,6 +6,8 @@
* Copyright (C) 1998 Paul Mackerras.
*/
+#ifndef _LINUX_PMU_H
+#define _LINUX_PMU_H
#define PMU_DRIVER_VERSION 2
@@ -207,3 +209,5 @@ extern int pmu_sys_suspended;
#endif
#endif /* __KERNEL__ */
+
+#endif /* _LINUX_PMU_H */
OpenPOWER on IntegriCloud