x86/emul: Unfold %cr4.de handling in x86emul_read_dr()
authorAndrew Cooper <andrew.cooper3@citrix.com>
Mon, 28 May 2018 15:16:37 +0000 (15:16 +0000)
committerAndrew Cooper <andrew.cooper3@citrix.com>
Tue, 30 Oct 2018 13:26:21 +0000 (13:26 +0000)
commit2b3218eb6bf27d3b66885dde8ae05e4e7864370d
tree24e01eb4c112b146c41fad53c10c2747f8a14a1a
parent0a1fa635029d100d4b6b7eddb31d49603217cab7
x86/emul: Unfold %cr4.de handling in x86emul_read_dr()

No functional change (as curr->arch.debugreg[5] is zero when DE is clear), but
this change simplifies the following patch.

Signed-off-by: Andrew Cooper <andrew.cooper3@citrix.com>
Acked-by: Jan Beulich <jbeulich@suse.com>
Reviewed-by: Roger Pau Monné <roger.pau@citrix.com>
xen/arch/x86/x86_emulate.c