Cargo Features

percpu_macros has no features set by default.

[dependencies]
percpu_macros = { version = "0.1.5", features = ["sp-naive", "preempt", "arm-el2"] }
sp-naive

For single CPU use, just make the per-CPU data a global variable.

preempt

Whether the system enables preemption.

arm-el2

ARM specific, whether to run at the EL2 privilege level.