ARM: domains: provide domain_mask()
authorRussell King <rmk+kernel@arm.linux.org.uk>
Wed, 19 Aug 2015 21:36:24 +0000 (22:36 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Fri, 21 Aug 2015 12:55:50 +0000 (13:55 +0100)
commit8e798706f7e9cd7f096aa194de90269dde83773e
tree5250a05d9d65529bb36898bb54624f71e9f16c1b
parent1eef5d2f1b461c120bcd82077edee5ec706ac53b
ARM: domains: provide domain_mask()

Provide a macro to generate the mask for a domain, rather than using
domain_val(, DOMAIN_MANAGER) which won't work when CPU_USE_DOMAINS
is turned off.

Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/include/asm/domain.h