diff options
author | Marcin Chrzanowski <marcin.j.chrzanowski@gmail.com> | 2018-05-23 13:12:01 +0200 |
---|---|---|
committer | Marcin Chrzanowski <marcin.j.chrzanowski@gmail.com> | 2018-05-23 13:12:01 +0200 |
commit | d910393a63f610d55c07408fd6f4547b86635988 (patch) | |
tree | 1971329fa21f81f8518327c8a7925813ab9f264d /private_data.h | |
parent | 962a5da1e9e7e3c3a0966720c0484308077918b7 (diff) |
Separate mutual exclusion for commands and ping
Diffstat (limited to 'private_data.h')
-rw-r--r-- | private_data.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/private_data.h b/private_data.h index 39ceba8..0325b93 100644 --- a/private_data.h +++ b/private_data.h @@ -9,8 +9,8 @@ struct doom_data { struct device *device; struct device *pci_device; void __iomem *iomem; - struct mutex mutex; - struct semaphore ping_sem; + struct mutex cmd_mutex; + struct mutex ping_mutex; struct semaphore pong_sem; }; |