diff options
author | David S. Miller <davem@davemloft.net> | 2010-12-01 01:33:29 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-12-01 01:33:29 +0300 |
commit | e62cac1fd035b4cde707285008499dbe71955a86 (patch) | |
tree | 214447e9efd4dc49f5bb707c7c1c0073a3df9803 /arch/sparc/include/asm/oplib_32.h | |
parent | 91921fef7c658b12de53376b312d071d757f7770 (diff) | |
download | linux-e62cac1fd035b4cde707285008499dbe71955a86.tar.xz |
sparc: Pass buffer pointer all the way down to prom_{get,put}char().
This gets us closer to being able to eliminate the use
of dynamic and stack based buffers, so that we can adhere
to the "no buffer addresses above 4GB" rule for PROM calls.
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'arch/sparc/include/asm/oplib_32.h')
-rw-r--r-- | arch/sparc/include/asm/oplib_32.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/sparc/include/asm/oplib_32.h b/arch/sparc/include/asm/oplib_32.h index 49fe4266f86a..4c2539243e46 100644 --- a/arch/sparc/include/asm/oplib_32.h +++ b/arch/sparc/include/asm/oplib_32.h @@ -105,10 +105,10 @@ extern int prom_getprev(void); /* Character operations to/from the console.... */ /* Blocking get character from console. */ -extern char prom_getchar(void); +extern void prom_getchar(char *buf); /* Blocking put character to console. */ -extern void prom_putchar(char character); +extern void prom_putchar(const char *buf); /* Prom's internal routines, don't use in kernel/boot code. */ extern void prom_printf(const char *fmt, ...); |