aboutsummaryrefslogtreecommitdiff
path: root/device/tty.h
diff options
context:
space:
mode:
authorSamuel Thibault <samuel.thibault@ens-lyon.org>2023-08-12 13:24:29 +0200
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2023-08-12 23:29:30 +0200
commitdd2ffd2ed67f2a867f62d30b8ff38516a80ea8e6 (patch)
tree468336428c4f9fc1a2c2b5cfa41a7d98e464621e /device/tty.h
parent34890b4939c1ee8190a103b8693e94ddffe13ffa (diff)
downloadgnumach-dd2ffd2ed67f2a867f62d30b8ff38516a80ea8e6.tar.gz
gnumach-dd2ffd2ed67f2a867f62d30b8ff38516a80ea8e6.tar.bz2
gnumach-dd2ffd2ed67f2a867f62d30b8ff38516a80ea8e6.zip
tty: Convert t_lock to using simple_lock_irq
Diffstat (limited to 'device/tty.h')
-rw-r--r--device/tty.h2
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 */