浏览代码

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>
David Howells 13 年之前
父节点
当前提交
6c9f2ef9b5
共有 1 个文件被更改,包括 4 次插入0 次删除
  1. 4 0
      include/linux/pmu.h

+ 4 - 0
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 */