diff options
author | David Howells <dhowells@redhat.com> | 2012-10-09 08:47:14 (GMT) |
---|---|---|
committer | David Howells <dhowells@redhat.com> | 2012-10-09 08:47:14 (GMT) |
commit | 61730c538f8281efa7ac12596da9f3f9a31b9272 (patch) | |
tree | cda3febfc512cd4dd667601427b42b612d7ea6d7 /arch/mips/include/uapi/asm/sysmips.h | |
parent | 9e2d8656f5e8aa214e66b462680cf86b210b74a8 (diff) | |
download | linux-61730c538f8281efa7ac12596da9f3f9a31b9272.tar.xz |
UAPI: (Scripted) Disintegrate arch/mips/include/asm
Signed-off-by: David Howells <dhowells@redhat.com>
Acked-by: Arnd Bergmann <arnd@arndb.de>
Acked-by: Thomas Gleixner <tglx@linutronix.de>
Acked-by: Michael Kerrisk <mtk.manpages@gmail.com>
Acked-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
Acked-by: Dave Jones <davej@redhat.com>
Diffstat (limited to 'arch/mips/include/uapi/asm/sysmips.h')
-rw-r--r-- | arch/mips/include/uapi/asm/sysmips.h | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/arch/mips/include/uapi/asm/sysmips.h b/arch/mips/include/uapi/asm/sysmips.h new file mode 100644 index 0000000..4f47b7d --- /dev/null +++ b/arch/mips/include/uapi/asm/sysmips.h @@ -0,0 +1,25 @@ +/* + * Definitions for the MIPS sysmips(2) call + * + * 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. + * + * Copyright (C) 1995 by Ralf Baechle + */ +#ifndef _ASM_SYSMIPS_H +#define _ASM_SYSMIPS_H + +/* + * Commands for the sysmips(2) call + * + * sysmips(2) is deprecated - though some existing software uses it. + * We only support the following commands. + */ +#define SETNAME 1 /* set hostname */ +#define FLUSH_CACHE 3 /* writeback and invalidate caches */ +#define MIPS_FIXADE 7 /* control address error fixing */ +#define MIPS_RDNVRAM 10 /* read NVRAM */ +#define MIPS_ATOMIC_SET 2001 /* atomically set variable */ + +#endif /* _ASM_SYSMIPS_H */ |