diff options
| author | Russell King <rmk@flint.arm.linux.org.uk> | 2004-10-30 22:19:31 +0100 |
|---|---|---|
| committer | Russell King <rmk@flint.arm.linux.org.uk> | 2004-10-30 22:19:31 +0100 |
| commit | c1d0b9d98dc12b3cf06a41bfb9b3b7ce84a347ff (patch) | |
| tree | 24188d84330a307d52a35cab6127dcd0d23268ad /include | |
| parent | 506b73c0b3af4169e0cb1858acd9a32247b4695b (diff) | |
[SERIAL] Clean up serial_core.c write functions.
Since the tty layer now takes care of user space writes,
__uart_user_write() and associated temporary buffer and temporary
buffer semaphore have all become unnecessary. There's also little
point in having __uart_kern_write() separate from uart_write(), so
combine the two together.
Adrian Bunk kindly provided the patch to remove __uart_user_write().
The rest of the work is rmk's.
Signed-off-by: Adrian Bunk
Signed-off-by: Russell King <rmk@arm.linux.org.uk>
Diffstat (limited to 'include')
| -rw-r--r-- | include/linux/serial_core.h | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/include/linux/serial_core.h b/include/linux/serial_core.h index daffe8c510ef..94653c5a256d 100644 --- a/include/linux/serial_core.h +++ b/include/linux/serial_core.h @@ -246,7 +246,7 @@ struct uart_state { struct semaphore sem; }; -#define UART_XMIT_SIZE 1024 +#define UART_XMIT_SIZE PAGE_SIZE /* * This is the state information which is only valid when the port * is open; it may be freed by the core driver once the device has @@ -268,9 +268,6 @@ struct uart_info { #define UIF_NORMAL_ACTIVE (1 << 29) #define UIF_INITIALIZED (1 << 31) - unsigned char *tmpbuf; - struct semaphore tmpbuf_sem; - int blocked_open; struct tasklet_struct tlet; |
