summaryrefslogtreecommitdiff
path: root/rust/kernel/sync/lock/spinlock.rs
diff options
context:
space:
mode:
Diffstat (limited to 'rust/kernel/sync/lock/spinlock.rs')
-rw-r--r--rust/kernel/sync/lock/spinlock.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/rust/kernel/sync/lock/spinlock.rs b/rust/kernel/sync/lock/spinlock.rs
index 91eb2c9e9123..068535ce1b29 100644
--- a/rust/kernel/sync/lock/spinlock.rs
+++ b/rust/kernel/sync/lock/spinlock.rs
@@ -82,7 +82,7 @@ macro_rules! new_spinlock {
/// }
/// ```
///
-/// [`spinlock_t`]: ../../../../include/linux/spinlock.h
+/// [`spinlock_t`]: srctree/include/linux/spinlock.h
pub type SpinLock<T> = super::Lock<T, SpinLockBackend>;
/// A kernel `spinlock_t` lock backend.