diff options
Diffstat (limited to 'rust')
| -rw-r--r-- | rust/kernel/page.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/rust/kernel/page.rs b/rust/kernel/page.rs index 8affd8262891..1c0796ea229f 100644 --- a/rust/kernel/page.rs +++ b/rust/kernel/page.rs @@ -201,6 +201,7 @@ impl Page { } /// Get the node id containing this page. + #[inline] pub fn nid(&self) -> i32 { // SAFETY: Always safe to call with a valid page. unsafe { bindings::page_to_nid(self.as_ptr()) } |
