diff options
author | Fancy Fang <B47543@freescale.com> | 2013-12-24 17:42:22 +0800 |
---|---|---|
committer | Fancy Fang <B47543@freescale.com> | 2014-01-02 09:55:17 +0800 |
commit | cb5ebdb8d5daac67b419b493125c46d2df2266db (patch) | |
tree | 3fbd9aa9de0d773975ae178d2c9b29558b4a43d0 /include | |
parent | af8c32d1d914ad07694713943123700893e602e5 (diff) |
ENGR00293234 PXP: let irq_pending variable to be atomic
Change irq_pending field in struct pxp_irq_info to a atomic
type. So the spin lock in pxp_irq_info is unnecessary.
Signed-off-by: Fancy Fang <B47543@freescale.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/pxp_device.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/include/linux/pxp_device.h b/include/linux/pxp_device.h index 5881deb0e030..df185c49d017 100644 --- a/include/linux/pxp_device.h +++ b/include/linux/pxp_device.h @@ -25,9 +25,8 @@ struct pxp_irq_info { wait_queue_head_t waitq; - int irq_pending; + atomic_t irq_pending; int hist_status; - spinlock_t lock; }; struct pxp_buffer_hash { |