diff options
author | Taku Izumi <izumi.taku@jp.fujitsu.com> | 2016-04-15 11:25:46 +0900 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2016-04-16 21:51:01 -0400 |
commit | bd5a256991f9a9cc0b7f6385dd1d8cfc90559b12 (patch) | |
tree | 2c894fb54b29e7ba3d62831dcbebad9d15b34fa0 /drivers/net/fjes/fjes_hw.h | |
parent | 16bbec3a50efec46b679c3408c8be09f09dbcb7e (diff) | |
download | op-kernel-dev-bd5a256991f9a9cc0b7f6385dd1d8cfc90559b12.zip op-kernel-dev-bd5a256991f9a9cc0b7f6385dd1d8cfc90559b12.tar.gz |
fjes: Introduce spinlock for rx_status
This patch introduces spinlock of rx_status for
proper excusive control.
Signed-off-by: Taku Izumi <izumi.taku@jp.fujitsu.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/fjes/fjes_hw.h')
-rw-r--r-- | drivers/net/fjes/fjes_hw.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/net/fjes/fjes_hw.h b/drivers/net/fjes/fjes_hw.h index f40cf07..1445ac9 100644 --- a/drivers/net/fjes/fjes_hw.h +++ b/drivers/net/fjes/fjes_hw.h @@ -300,6 +300,8 @@ struct fjes_hw { u8 *base; struct fjes_hw_info hw_info; + + spinlock_t rx_status_lock; /* spinlock for rx_status */ }; int fjes_hw_init(struct fjes_hw *); |