aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/serialP.h
diff options
context:
space:
mode:
authorJiri Slaby <jslaby@suse.cz>2012-03-05 08:52:13 -0500
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2012-03-08 14:48:42 -0500
commitc5f0508b992ad081ba378a59b2404966f9f89429 (patch)
tree213b0bde78d50c6679f7e668be16c93a71b0bd95 /include/linux/serialP.h
parent9c8efecc91c02056340ae19612315f3225e6dbe2 (diff)
TTY: amiserial, remove tasklet for tty_wakeup
tty_wakeup is safe to be called from all contexts. No need to schedule a tasklet for that. Let's call it directly like in other drivers. This allows us to kill another member of async_struct structure. (If we remove the dummy uses in simserial.) Signed-off-by: Jiri Slaby <jslaby@suse.cz> Cc: Geert Uytterhoeven <geert@linux-m68k.org> Cc: Tony Luck <tony.luck@intel.com> Cc: Fenghua Yu <fenghua.yu@intel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/linux/serialP.h')
-rw-r--r--include/linux/serialP.h8
1 files changed, 0 insertions, 8 deletions
diff --git a/include/linux/serialP.h b/include/linux/serialP.h
index c1acdb2c8584..beaf39f819d6 100644
--- a/include/linux/serialP.h
+++ b/include/linux/serialP.h
@@ -56,11 +56,9 @@ struct async_struct {
56 unsigned short closing_wait; 56 unsigned short closing_wait;
57 int IER; /* Interrupt Enable Register */ 57 int IER; /* Interrupt Enable Register */
58 int MCR; /* Modem control register */ 58 int MCR; /* Modem control register */
59 unsigned long event;
60 int line; 59 int line;
61 int blocked_open; /* # of blocked opens */ 60 int blocked_open; /* # of blocked opens */
62 struct circ_buf xmit; 61 struct circ_buf xmit;
63 struct tasklet_struct tlet;
64 wait_queue_head_t open_wait; 62 wait_queue_head_t open_wait;
65 wait_queue_head_t close_wait; 63 wait_queue_head_t close_wait;
66 wait_queue_head_t delta_msr_wait; 64 wait_queue_head_t delta_msr_wait;
@@ -68,10 +66,4 @@ struct async_struct {
68 struct async_struct *prev_port; 66 struct async_struct *prev_port;
69}; 67};
70 68
71/*
72 * Events are used to schedule things to happen at timer-interrupt
73 * time, instead of at rs interrupt time.
74 */
75#define RS_EVENT_WRITE_WAKEUP 0
76
77#endif /* _LINUX_SERIAL_H */ 69#endif /* _LINUX_SERIAL_H */