git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c15a48d
)
UAPI: Guard linux/pmu.h
author
David Howells
<dhowells@redhat.com>
Tue, 13 Dec 2011 09:26:45 +0000
(09:26 +0000)
committer
David Howells
<dhowells@redhat.com>
Tue, 13 Dec 2011 09:26:45 +0000
(09:26 +0000)
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>
include/linux/pmu.h
patch
|
blob
|
history
diff --git
a/include/linux/pmu.h
b/include/linux/pmu.h
index
cafe98d
..
84e6a55
100644
(file)
--- 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 */