aboutsummaryrefslogtreecommitdiff
path: root/lib/jedec_ddr_data.c
diff options
context:
space:
mode:
authorSean Wang <sean.wang@mediatek.com>2016-08-11 17:51:00 +0800
committerDavid S. Miller <davem@davemloft.net>2016-08-12 20:22:56 -0700
commite3e9652a43207561eaec6085a8272fe11b283286 (patch)
tree2efe8023a1d48b4791f97195d36a08e8534094e9 /lib/jedec_ddr_data.c
parent1738cd3ed342294360d6a74d4e58800004bff854 (diff)
net: ethernet: mediatek: enhance the locking using the lightweight ones
Since these critical sections protected by page_lock are all entered from the user context or bottom half context, they can be replaced with the spin_lock() or spin_lock_bh instead of spin_lock_irqsave(). Signed-off-by: Sean Wang <sean.wang@mediatek.com> Acked-by: John Crispin <john@phrozen.org> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'lib/jedec_ddr_data.c')
0 files changed, 0 insertions, 0 deletions