projects
/
powerpc.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
skge: default WOL should be magic only (rev2)
[powerpc.git]
/
include
/
asm-powerpc
/
pSeries_reconfig.h
diff --git
a/include/asm-powerpc/pSeries_reconfig.h
b/include/asm-powerpc/pSeries_reconfig.h
index
c0db1ea
..
ea6cfb8
100644
(file)
--- a/
include/asm-powerpc/pSeries_reconfig.h
+++ b/
include/asm-powerpc/pSeries_reconfig.h
@@
-1,5
+1,6
@@
#ifndef _PPC64_PSERIES_RECONFIG_H
#define _PPC64_PSERIES_RECONFIG_H
#ifndef _PPC64_PSERIES_RECONFIG_H
#define _PPC64_PSERIES_RECONFIG_H
+#ifdef __KERNEL__
#include <linux/notifier.h>
#include <linux/notifier.h>
@@
-22,4
+23,5
@@
static inline int pSeries_reconfig_notifier_register(struct notifier_block *nb)
static inline void pSeries_reconfig_notifier_unregister(struct notifier_block *nb) { }
#endif /* CONFIG_PPC_PSERIES */
static inline void pSeries_reconfig_notifier_unregister(struct notifier_block *nb) { }
#endif /* CONFIG_PPC_PSERIES */
+#endif /* __KERNEL__ */
#endif /* _PPC64_PSERIES_RECONFIG_H */
#endif /* _PPC64_PSERIES_RECONFIG_H */