x86/domain: Drop the only-written smap_check_policy infrastructure
authorAndrew Cooper <andrew.cooper3@citrix.com>
Tue, 8 May 2018 12:45:45 +0000 (13:45 +0100)
committerAndrew Cooper <andrew.cooper3@citrix.com>
Tue, 8 May 2018 16:22:57 +0000 (17:22 +0100)
commitb190f0c0c1dff13ce92c5f056a87d6c81d3ee8f9
treec3837526d34f080147a30245f649ac505fb79b0e
parentf78c8322850dbe3dbe9cd828ee00767190529100
x86/domain: Drop the only-written smap_check_policy infrastructure

c/s 4c5d78a10d "x86/pagewalk: Re-implement the pagetable walker" dropped the
consumer of smap_policy.  Looking at c/s 31ae587e6f which introduced the
smap_check logic, it exists only to work around a bug in guest_walk_tables()
was resolved by the aformentioned commit.

Remove the unused variables and associated infrastructure.

Reported-by: Jason Andryuk <jandryuk@gmail.com>
Signed-off-by: Andrew Cooper <andrew.cooper3@citrix.com>
Reviewed-by: George Dunlap <george.dunlap@citrix.com>
Reviewed-by: Roger Pau Monné <roger.pau@citrix.com>
Release-acked-by: Juergen Gross <jgross@suse.com>
xen/arch/x86/domain.c
xen/arch/x86/time.c
xen/include/asm-x86/domain.h