linux/arch/sparc
David S. Miller 595a251c07 sparc: Write to prom console using indirect buffer.
sparc64 systems have a restriction in that passing in buffer
addressses above 4GB to prom calls is not reliable.

We end up violating this when we do prom console writes, because we
use an on-stack buffer to translate '\n' into '\r\n'.

So instead, do this translation into an intermediate buffer, which is
in the kernel image and thus below 4GB, then pass that to the PROM
console write calls.

On the 32-bit side we don't have to deal with any of these issues, so
the new prom_console_write_buf() uses the existing prom_nbputchar()
implementation.  However we can now mark those routines static.

Since the 64-bit side completely uses new code we can delete the
putchar bits as they are now completely unused.

Signed-off-by: David S. Miller <davem@davemloft.net>
2010-11-30 20:15:58 -08:00
..
boot Merge branch 'master' into for-next 2010-06-16 18:08:13 +02:00
configs defconfig reduction 2010-08-14 22:26:53 +02:00
include/asm sparc: Write to prom console using indirect buffer. 2010-11-30 20:15:58 -08:00
kernel SPARC/LEON: removed constant timer initialization as if HZ=100, now it reflects the value of HZ 2010-10-29 13:25:24 -07:00
lib sparc64: Make lock backoff really a NOP on UP builds. 2010-08-18 22:53:26 -07:00
math-emu Revert "endian: #define __BYTE_ORDER" 2010-05-26 08:30:15 -07:00
mm sparc32: Fix unaligned stack handling on trap return. 2010-10-26 08:59:55 -07:00
oprofile sparc: using HZ needs an include of linux/param.h 2009-10-05 00:46:08 -07:00
prom sparc: Write to prom console using indirect buffer. 2010-11-30 20:15:58 -08:00
Kconfig sparc32: remove CONFIG_HAVE_PERF_EVENTS option 2010-10-26 09:02:43 -07:00
Kconfig.debug sparc: Kill user copy check code. 2010-08-09 00:45:46 -07:00
Makefile sparc: Set UTS_MACHINE correctly. 2009-12-05 17:17:55 -08:00