xen/arm: get privilege status
authorStefano Stabellini <stefano.stabellini@eu.citrix.com>
Wed, 8 Aug 2012 17:20:18 +0000 (17:20 +0000)
committerStefano Stabellini <stefano.stabellini@eu.citrix.com>
Wed, 8 Aug 2012 17:20:18 +0000 (17:20 +0000)
commitef61ee0dc7ba0409dc0e8122de90d4e48d4c8669
tree69318ec779b0c71fbd8d7763b5ddb018b22b7673
parenteff8d6447d5fac2995ffa5c1f0ea2da5bd7074c9
xen/arm: get privilege status

Use Xen features to figure out if we are privileged.

XENFEAT_dom0 was introduced by 23735 in xen-unstable.hg.

Signed-off-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
Acked-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
arch/arm/xen/enlighten.c
include/xen/interface/features.h