diff options
Diffstat (limited to 'include/linux/tty_ldisc.h')
| -rw-r--r-- | include/linux/tty_ldisc.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/linux/tty_ldisc.h b/include/linux/tty_ldisc.h index 1ef64d4ad887..840894ca3fc0 100644 --- a/include/linux/tty_ldisc.h +++ b/include/linux/tty_ldisc.h | |||
| @@ -119,13 +119,13 @@ | |||
| 119 | 119 | ||
| 120 | #include <linux/fs.h> | 120 | #include <linux/fs.h> |
| 121 | #include <linux/wait.h> | 121 | #include <linux/wait.h> |
| 122 | 122 | #include <linux/atomic.h> | |
| 123 | 123 | ||
| 124 | /* | 124 | /* |
| 125 | * the semaphore definition | 125 | * the semaphore definition |
| 126 | */ | 126 | */ |
| 127 | struct ld_semaphore { | 127 | struct ld_semaphore { |
| 128 | long count; | 128 | atomic_long_t count; |
| 129 | raw_spinlock_t wait_lock; | 129 | raw_spinlock_t wait_lock; |
| 130 | unsigned int wait_readers; | 130 | unsigned int wait_readers; |
| 131 | struct list_head read_wait; | 131 | struct list_head read_wait; |
