diff --git a/rust/kernel/lib.rs b/rust/kernel/lib.rs index 93f0d0979567ef..6ef12992f50a81 100644 --- a/rust/kernel/lib.rs +++ b/rust/kernel/lib.rs @@ -51,6 +51,8 @@ pub use crate::error::{Error, KernelResult}; pub use crate::types::{CStr, Mode}; /// Page size defined in terms of the `PAGE_SHIFT` macro from C. +/// +/// [`PAGE_SHIFT`]: ../../../include/asm-generic/page.h pub const PAGE_SIZE: usize = 1 << bindings::PAGE_SHIFT; /// The top level entrypoint to implementing a kernel module.