]> git.karo-electronics.de Git - mv-sheeva.git/commit
microblaze: Remove PER_CPU(KM) variable
authorMichal Simek <monstr@monstr.eu>
Tue, 22 Jun 2010 12:00:12 +0000 (14:00 +0200)
committerMichal Simek <monstr@monstr.eu>
Wed, 4 Aug 2010 08:22:44 +0000 (10:22 +0200)
commit5c0d72b1b35fd0dad7dd70a114df068eadcc1b16
tree4acc534b04a29748a0207927e9effdfc7e286579
parent3fbd93e58e0f3589720798b7c8992a25e4a2d3a4
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>
arch/microblaze/kernel/entry.S