]> asedeno.scripts.mit.edu Git - linux.git/commit
openrisc: Fix the bitmask for the unit present register
authorSebastian Macke <sebastian@macke.de>
Sun, 20 Jul 2014 15:13:30 +0000 (15:13 +0000)
committerStafford Horne <shorne@gmail.com>
Fri, 24 Feb 2017 19:14:34 +0000 (04:14 +0900)
commit79f8a4d022f2d11d4fc90f785f575ac331e2ef71
tree86bd39927a9ec63eb69d0ab39c584dc8629f20f6
parent89c94fdb9718d8ff3243faf8133a2176fd91f207
openrisc: Fix the bitmask for the unit present register

The bits were swapped, as per spec and processor implementation the
power management present bit is 9 and PIC bit is 8. This patch brings
the definitions into spec.

Signed-off-by: Sebastian Macke <sebastian@macke.de>
[shorne@gmail.com: Added commit body]
Signed-off-by: Stafford Horne <shorne@gmail.com>
arch/openrisc/include/asm/spr_defs.h