diff options
Diffstat (limited to 'device/tty.h')
-rw-r--r-- | device/tty.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/device/tty.h b/device/tty.h index b0f99cf5..3f8b2f63 100644 --- a/device/tty.h +++ b/device/tty.h @@ -43,7 +43,7 @@ #include <device/io_req.h> struct tty { - decl_simple_lock_data(,t_lock) /* Shall be taken at spltty only */ + decl_simple_lock_irq_data(,t_lock) /* Shall be taken at spltty only */ struct cirbuf t_inq; /* input buffer */ struct cirbuf t_outq; /* output buffer */ char * t_addr; /* device pointer */ |