diff options
author | Taku Izumi <izumi.taku@jp.fujitsu.com> | 2016-04-15 04:25:46 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2016-04-17 03:51:01 +0200 |
commit | bd5a256991f9a9cc0b7f6385dd1d8cfc90559b12 (patch) | |
tree | 2c894fb54b29e7ba3d62831dcbebad9d15b34fa0 /drivers/net/fjes/fjes_hw.h | |
parent | fjes: Enhance changing MTU related work (diff) | |
download | linux-bd5a256991f9a9cc0b7f6385dd1d8cfc90559b12.tar.xz linux-bd5a256991f9a9cc0b7f6385dd1d8cfc90559b12.zip |
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 f40cf0792a39..1445ac99d6e3 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 *); |