patch-2.3.99-pre9 linux/include/asm-mips/sgiarcs.h

Next file: linux/include/asm-mips/shmparam.h
Previous file: linux/include/asm-mips/sgialib.h
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.3.99-pre8/linux/include/asm-mips/sgiarcs.h linux/include/asm-mips/sgiarcs.h
@@ -4,9 +4,10 @@
  *
  * Copyright (C) 1996 David S. Miller (dm@engr.sgi.com)
  */
+#ifndef _ASM_SGIARCS_H
+#define _ASM_SGIARCS_H
 
-#ifndef _MIPS_SGIARCS_H
-#define _MIPS_SGIARCS_H
+#include <asm/arc/types.h>
 
 /* Various ARCS error codes. */
 #define PROM_ESUCCESS                   0x00
@@ -232,8 +233,8 @@
 	long (*mount)(char *file, enum linux_mountops op);
 
 	/* Dealing with firmware environment variables. */
-	char *(*get_evar)(char *name);
-	long (*set_evar)(char *name, char *value);
+	PCHAR (*get_evar)(CHAR *name);
+	LONG (*set_evar)(PCHAR name, PCHAR value);
 
 	long (*get_finfo)(unsigned long fd, struct linux_finfo *buf);
 	long (*set_finfo)(unsigned long fd, unsigned long flags,
@@ -366,4 +367,4 @@
 	int             smax;              /* Max # of symbols. */
 };
 
-#endif /* !(_MIPS_SGIARCS_H) */
+#endif /* _ASM_SGIARCS_H */

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)