mirror of
git://nv-tegra.nvidia.com/linux-nv-oot.git
synced 2025-12-24 02:01:36 +03:00
nvethernet: use raw_spin_lock_* for RT kernel
Issue: raw_spin_lock* should be used with RT kernel Fix: update code to use raw_spin_lock* APIs instead of spin_lock* Bug 200671160 Change-Id: I5a1d187d2ead6394d97bbdcb41533852b4708afe Signed-off-by: rakesh goyal <rgoyal@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/c/linux-nvidia/+/2493350 Tested-by: mobile promotions <svcmobile_promotions@nvidia.com> Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
This commit is contained in:
committed by
Revanth Kumar Uppala
parent
8363bf6e9d
commit
9f61b817f7
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 2018-2020, NVIDIA CORPORATION. All rights reserved.
|
||||
* Copyright (c) 2018-2021, NVIDIA CORPORATION. All rights reserved.
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify it
|
||||
* under the terms and conditions of the GNU General Public License,
|
||||
@@ -241,7 +241,7 @@ struct ether_ivc_ctxt {
|
||||
/** ivc cookie */
|
||||
struct tegra_hv_ivc_cookie *ivck;
|
||||
/** ivc lock */
|
||||
spinlock_t ivck_lock;
|
||||
raw_spinlock_t ivck_lock;
|
||||
/** ivc work */
|
||||
struct work_struct ivc_work;
|
||||
/** wait for event */
|
||||
@@ -335,7 +335,7 @@ struct ether_priv_data {
|
||||
atomic_t therm_state;
|
||||
#endif /* THERMAL_CAL */
|
||||
/** Spin lock for Tx/Rx interrupt enable registers */
|
||||
spinlock_t rlock;
|
||||
raw_spinlock_t rlock;
|
||||
/** max address register count, 2*mac_addr64_sel */
|
||||
int num_mac_addr_regs;
|
||||
/** Last address reg filter index added in last call*/
|
||||
|
||||
Reference in New Issue
Block a user