Skip to main content

write_percpu_reg

Function write_percpu_reg 

Source
pub unsafe fn write_percpu_reg(tp: usize)
Expand description

Writes the architecture-specific per-CPU data register.

This register is used to hold the per-CPU data base on each CPU.

ยงSafety

This function is unsafe because it writes the low-level register directly.