[PATCH 02/15] powerpc: move asm/suspend.h

sfr at canb.auug.org.au sfr at canb.auug.org.au
Wed Apr 5 15:10:36 EST 2006


From: Stephen Rothwell <sfr at canb.auug.org.au>

Since files in arch/powerpc now depend on asm/suspend.h,
move it to include/asm-powerpc.

Signed-off-by: Stephen Rothwell <sfr at canb.auug.org.au>

---

 include/asm-powerpc/suspend.h |   17 +++++++++++++++++
 include/asm-ppc/suspend.h     |   12 ------------
 2 files changed, 17 insertions(+), 12 deletions(-)
 create mode 100644 include/asm-powerpc/suspend.h
 delete mode 100644 include/asm-ppc/suspend.h

8d1f48e5eb94865c139b9c0ffd51ad50f991a1e6
diff --git a/include/asm-powerpc/suspend.h b/include/asm-powerpc/suspend.h
new file mode 100644
index 0000000..39fb2cd
--- /dev/null
+++ b/include/asm-powerpc/suspend.h
@@ -0,0 +1,17 @@
+#ifndef _ASM_POWERPC_SUSPEND_H
+#define _ASM_POWERPC_SUSPEND_H
+
+static inline int arch_prepare_suspend(void)
+{
+	return 0;
+}
+
+static inline void save_processor_state(void)
+{
+}
+
+static inline void restore_processor_state(void)
+{
+}
+
+#endif /* _ASM_POWERPC_SUSPEND_H */
diff --git a/include/asm-ppc/suspend.h b/include/asm-ppc/suspend.h
deleted file mode 100644
index 3df9f32..0000000
--- a/include/asm-ppc/suspend.h
+++ /dev/null
@@ -1,12 +0,0 @@
-static inline int arch_prepare_suspend(void)
-{
-	return 0;
-}
-
-static inline void save_processor_state(void)
-{
-}
-
-static inline void restore_processor_state(void)
-{
-}
-- 
1.2.4




More information about the Linuxppc-dev mailing list