Skip to content

Commit

Permalink
UAPI: Guard linux/pmu.h
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
David Howells committed Dec 13, 2011
1 parent c15a48d commit 6c9f2ef
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions include/linux/pmu.h
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@
* Copyright (C) 1998 Paul Mackerras.
*/

#ifndef _LINUX_PMU_H
#define _LINUX_PMU_H

#define PMU_DRIVER_VERSION 2

Expand Down Expand Up @@ -207,3 +209,5 @@ extern int pmu_sys_suspended;
#endif

#endif /* __KERNEL__ */

#endif /* _LINUX_PMU_H */

0 comments on commit 6c9f2ef

Please sign in to comment.