From dd2ffd2ed67f2a867f62d30b8ff38516a80ea8e6 Mon Sep 17 00:00:00 2001 From: Samuel Thibault Date: Sat, 12 Aug 2023 13:24:29 +0200 Subject: tty: Convert t_lock to using simple_lock_irq --- device/tty.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'device/tty.h') 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 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 */ -- cgit v1.2.3