diff options
author | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-07-24 19:00:26 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-07-24 19:00:26 -0400 |
commit | 2f66b529d9d131971e2509aee5478c61ca258ece (patch) | |
tree | 7a670d9eb76839ed5eecbe0cc1c1c25ba7ba446c /arch/mips/arc/console.c | |
parent | 1e66239e23dd0422baf891bf6af0b65ac632b676 (diff) | |
parent | cdcc9eb5e014a58aba047193a73a0de8b61b988d (diff) |
Merge branch 'upstream' of git://ftp.linux-mips.org/pub/scm/upstream-linus
* 'upstream' of git://ftp.linux-mips.org/pub/scm/upstream-linus:
[MIPS] Fix marge error due to conflict in arch/mips/kernel/head.S
[MIPS] ARC: Remove unused arch/mips/arc/console.c
[MIPS] SNI: sniprom
[MIPS] Jazz: remove unneeded reset functions
[MIPS] Whitespace cleanup.
[MIPS] Make resources for ds1742 "static __initdata"
[MIPS] Replace __attribute_used__ with __used
[MIPS] Jazz: Remove unused arch/mips/jazz/io.c
[MIPS] Mark prom_free_prom_memory as __init_refok
[MIPS] MIPSsim: Fix cflags
Diffstat (limited to 'arch/mips/arc/console.c')
-rw-r--r-- | arch/mips/arc/console.c | 31 |
1 files changed, 0 insertions, 31 deletions
diff --git a/arch/mips/arc/console.c b/arch/mips/arc/console.c deleted file mode 100644 index 0fe6032999cb..000000000000 --- a/arch/mips/arc/console.c +++ /dev/null | |||
@@ -1,31 +0,0 @@ | |||
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. | ||
5 | * | ||
6 | * Copyright (C) 1996 David S. Miller (dm@sgi.com) | ||
7 | * Compability with board caches, Ulf Carlsson | ||
8 | */ | ||
9 | #include <linux/kernel.h> | ||
10 | #include <asm/sgialib.h> | ||
11 | #include <asm/bcache.h> | ||
12 | |||
13 | /* | ||
14 | * IP22 boardcache is not compatible with board caches. Thus we disable it | ||
15 | * during romvec action. Since r4xx0.c is always compiled and linked with your | ||
16 | * kernel, this shouldn't cause any harm regardless what MIPS processor you | ||
17 | * have. | ||
18 | * | ||
19 | * The ARC write and read functions seem to interfere with the serial lines | ||
20 | * in some way. You should be careful with them. | ||
21 | */ | ||
22 | |||
23 | void prom_putchar(char c) | ||
24 | { | ||
25 | ULONG cnt; | ||
26 | CHAR it = c; | ||
27 | |||
28 | bc_disable(); | ||
29 | ArcWrite(1, &it, 1, &cnt); | ||
30 | bc_enable(); | ||
31 | } | ||