mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-10-14 05:55:17 +00:00
microblaze: Remove PER_CPU(KM) variable
There is a way howto remove Kernel Mode variable. It is easier to parse UMS bit in MSR to find out if I come from kernel or user space. Loading MSR content should be in one cycle and loading PER_CPU variable depends on memory state. Signed-off-by: Michal Simek <monstr@monstr.eu>
This commit is contained in:
parent
3fbd93e58e
commit
5c0d72b1b3
1 changed files with 20 additions and 23 deletions
Loading…
Add table
Add a link
Reference in a new issue