x86/svm: Replace opencoded 1GB superpage check
authorAndrew Cooper <andrew.cooper3@citrix.com>
Tue, 3 Jan 2017 17:46:58 +0000 (17:46 +0000)
committerAndrew Cooper <andrew.cooper3@citrix.com>
Wed, 4 Jan 2017 18:03:03 +0000 (18:03 +0000)
commit36e83e513e273c02050a89f2d74939d8be9f1db8
treef3a123e83b050db4a43af70292f7df0ea7d44164
parentc585f9f0da806d6256eab76c1dbaa7102062aced
x86/svm: Replace opencoded 1GB superpage check

No functional change.

Signed-off-by: Andrew Cooper <andrew.cooper3@citrix.com>
Reviewed-by: Boris Ostrovsky <boris.ostrovsky@oracle.com>
xen/arch/x86/hvm/svm/svm.c