Vladimir Murzin ec953b70f3 ARM: 8573/1: domain: move {set,get}_domain under config guard
Recursive undefined instrcution falut is seen with R-class taking an
exception. The reson for that is __show_regs() tries to get domain
information, but domains is not available on !MMU cores, like R/M
class.

Fix it by puting {set,get}_domain functions under CONFIG_CPU_CP15_MMU
guard and providing stubs for the case where domains is not supported.

Signed-off-by: Vladimir Murzin <vladimir.murzin@arm.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
2016-05-05 19:03:02 +01:00
..
2016-03-24 19:01:38 -07:00
2016-03-20 14:37:22 -07:00
2016-03-20 15:15:48 -07:00
2016-03-20 14:37:22 -07:00
2016-03-20 15:15:48 -07:00
2016-03-20 14:37:22 -07:00
2016-03-20 14:37:22 -07:00
2016-03-20 14:37:22 -07:00
2016-03-20 14:37:22 -07:00
2016-03-20 14:37:22 -07:00
2016-03-20 14:37:22 -07:00
2016-03-24 19:57:15 -07:00
2016-03-20 14:57:08 -07:00
2016-03-20 14:57:08 -07:00