patch-2.4.19 linux-2.4.19/arch/mips/arc/env.c
Next file: linux-2.4.19/arch/mips/arc/file.c
Previous file: linux-2.4.19/arch/mips/arc/console.c
Back to the patch index
Back to the overall index
- Lines: 32
- Date:
Fri Aug 2 17:39:43 2002
- Orig file:
linux-2.4.18/arch/mips/arc/env.c
- Orig date:
Sat May 13 08:29:14 2000
diff -urN linux-2.4.18/arch/mips/arc/env.c linux-2.4.19/arch/mips/arc/env.c
@@ -1,24 +1,27 @@
/*
+ * This file is subject to the terms and conditions of the GNU General Public
+ * License. See the file "COPYING" in the main directory of this archive
+ * for more details.
+ *
* env.c: ARCS environment variable routines.
*
* Copyright (C) 1996 David S. Miller (dm@engr.sgi.com)
- *
- * $Id: env.c,v 1.2 1999/10/09 00:00:57 ralf Exp $
*/
#include <linux/init.h>
#include <linux/kernel.h>
#include <linux/string.h>
+#include <asm/arc/types.h>
#include <asm/sgialib.h>
PCHAR __init
ArcGetEnvironmentVariable(CHAR *name)
{
- return romvec->get_evar(name);
+ return (CHAR *) ARC_CALL1(get_evar, name);
}
LONG __init
ArcSetEnvironmentVariable(PCHAR name, PCHAR value)
{
- return romvec->set_evar(name, value);
+ return ARC_CALL2(set_evar, name, value);
}
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)