]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - include/asm-powerpc/pSeries_reconfig.h
USB: drivers/usb/host/isp1760-hcd.c: processor flags have type `unsigned long'
[linux-2.6-omap-h63xx.git] / include / asm-powerpc / pSeries_reconfig.h
index c0db1ea7f7d1ba4921265eadd4bdad8f97e2daaf..e482e5352e69fccf95d721d4775fb4068e10d720 100644 (file)
@@ -1,5 +1,6 @@
 #ifndef _PPC64_PSERIES_RECONFIG_H
 #define _PPC64_PSERIES_RECONFIG_H
+#ifdef __KERNEL__
 
 #include <linux/notifier.h>
 
@@ -8,8 +9,10 @@
  * added or removed on pSeries systems.
  */
 
-#define PSERIES_RECONFIG_ADD    0x0001
-#define PSERIES_RECONFIG_REMOVE 0x0002
+#define PSERIES_RECONFIG_ADD           0x0001
+#define PSERIES_RECONFIG_REMOVE                0x0002
+#define PSERIES_DRCONF_MEM_ADD         0x0003
+#define PSERIES_DRCONF_MEM_REMOVE      0x0004
 
 #ifdef CONFIG_PPC_PSERIES
 extern int pSeries_reconfig_notifier_register(struct notifier_block *);
@@ -22,4 +25,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 */
 
+#endif /* __KERNEL__ */
 #endif /* _PPC64_PSERIES_RECONFIG_H */