summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorStephen Rothwell <sfr@canb.auug.org.au>2004-11-10 21:34:12 -0800
committerLinus Torvalds <torvalds@ppc970.osdl.org>2004-11-10 21:34:12 -0800
commitaad83f9d4f89bfd11ebbaa75f4c05b26f3bb68c0 (patch)
tree3b1506fc8736b3bfb3e2b9838bf84276279ffc4a /include
parent0788b35b0321bbc55f7e51ef2095c2b5402ff7e4 (diff)
[PATCH] ppc64: iSeries last of the cleanups fo the MF code
This last patch is a bit if a mess because it mainly consists of combining some single use small functions into their callers and rearranging some other code. Some intermediate variables are introduced and some code is restructured to improve its readablility (and hopefully maintainability). Overall there are no semantic changes. Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'include')
-rw-r--r--include/asm-ppc64/iSeries/mf.h22
1 files changed, 5 insertions, 17 deletions
diff --git a/include/asm-ppc64/iSeries/mf.h b/include/asm-ppc64/iSeries/mf.h
index 62b21144aaef..2e59a8e15a0b 100644
--- a/include/asm-ppc64/iSeries/mf.h
+++ b/include/asm-ppc64/iSeries/mf.h
@@ -24,13 +24,13 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
-#ifndef MF_H_INCLUDED
-#define MF_H_INCLUDED
+#ifndef _ASM_PPC64_ISERIES_MF_H
+#define _ASM_PPC64_ISERIES_MF_H
-#include <linux/proc_fs.h>
+#include <linux/types.h>
#include <asm/iSeries/HvTypes.h>
-#include <asm/iSeries/HvLpEvent.h>
+#include <asm/iSeries/HvCallEvent.h>
struct rtc_time;
@@ -51,19 +51,7 @@ extern void mf_clear_src(void);
extern void mf_init(void);
-extern void mf_setSide(char side);
-extern char mf_getSide(void);
-
-extern void mf_setCmdLine(const char *cmdline, int size, u64 side);
-extern int mf_getCmdLine(char *cmdline, int *size, u64 side);
-
-extern void mf_getSrcHistory(char *buffer, int size);
-
-extern int mf_setVmlinuxChunk(const char *buffer, int size, int offset,
- u64 side);
-extern int mf_getVmlinuxChunk(char *buffer, int *size, int offset, u64 side);
-
extern int mf_get_rtc(struct rtc_time *tm);
extern int mf_set_rtc(struct rtc_time *tm);
-#endif /* MF_H_INCLUDED */
+#endif /* _ASM_PPC64_ISERIES_MF_H */