treewide: remove redundant IS_ERR() before error code check
[linux/fpc-iii.git] / arch / mips / fw / arc / misc.c
blobd5b2d5901324d9f6fbca7500b1c6b794948c2fb7
1 /*
2 * This file is subject to the terms and conditions of the GNU General Public
3 * License. See the file "COPYING" in the main directory of this archive
4 * for more details.
6 * Miscellaneous ARCS PROM routines.
8 * Copyright (C) 1996 David S. Miller (davem@davemloft.net)
9 * Copyright (C) 1999 Ralf Baechle (ralf@gnu.org)
10 * Copyright (C) 1999 Silicon Graphics, Inc.
12 #include <linux/compiler.h>
13 #include <linux/init.h>
14 #include <linux/kernel.h>
15 #include <linux/irqflags.h>
17 #include <asm/bcache.h>
19 #include <asm/fw/arc/types.h>
20 #include <asm/sgialib.h>
21 #include <asm/bootinfo.h>
23 VOID __noreturn
24 ArcEnterInteractiveMode(VOID)
26 bc_disable();
27 local_irq_disable();
28 ARC_CALL0(imode);
30 unreachable();
33 DISPLAY_STATUS * __init ArcGetDisplayStatus(ULONG FileID)
35 return (DISPLAY_STATUS *) ARC_CALL1(GetDisplayStatus, FileID);