diff options
author | Raghava Aditya Renukunta <RaghavaAditya.Renukunta@pmcs.com> | 2016-02-03 15:06:05 -0800 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2016-02-23 21:27:02 -0500 |
commit | 222a9fb376df0f4aec32493a3fb5d18fa56979f2 (patch) | |
tree | 08f2e2291bc4fc18bae6d901b330680f9548b297 /drivers/macintosh/via-pmu68k.c | |
parent | 6b93b7dd85dc0788eedc6ad30ff0b01ad9d4c657 (diff) | |
download | talos-obmc-linux-222a9fb376df0f4aec32493a3fb5d18fa56979f2.tar.gz talos-obmc-linux-222a9fb376df0f4aec32493a3fb5d18fa56979f2.zip |
aacraid: Created new mutex for ioctl path
aac_mutex was used to create protect the ioctl path for only the compat
path, it would be make more sense to place mutex in aac_do_ioctl, which
is the main ioctl function call that handles all ioctl commands.
Created new mutex ioctl_mutex in struct aac_dev to protect switch case
in aac_do_ioctl and removed aac_mutex from aac_cfg_ioctl and
aac_compat_do_ioctl
Signed-off-by: Raghava Aditya Renukunta <RaghavaAditya.Renukunta@pmcs.com>
Reviewed-by: Tomas Henzl <thenzl@redhat.com>
Reviewed-by: Johannes Thumshirn <jthumshirn@suse.de>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'drivers/macintosh/via-pmu68k.c')
0 files changed, 0 insertions, 0 deletions