lkml.org 
[lkml]   [2011]   [Dec]   [13]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Subject[PATCH 10/17] UAPI: Guard linux/pmu.h
Date
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 | 4 ++++
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 */
--
1.7.7.4


\
 
 \ /
  Last update: 2011-12-13 11:41    [W:0.067 / U:0.228 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site