projects
/
xen.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9693f55
)
x86_emulate: Fix use-before-initialise warning.
author
Keir Fraser
<keir.fraser@citrix.com>
Tue, 27 Nov 2007 12:45:08 +0000
(12:45 +0000)
committer
Keir Fraser
<keir.fraser@citrix.com>
Tue, 27 Nov 2007 12:45:08 +0000
(12:45 +0000)
Signed-off-by: Keir Fraser <keir.fraser@citrix.com>
xen/arch/x86/x86_emulate.c
patch
|
blob
|
history
diff --git
a/xen/arch/x86/x86_emulate.c
b/xen/arch/x86/x86_emulate.c
index 763d73774fb3131927e34f23563804dcb1ee8c20..76cbd67ae8ddb0ecfdd47752cdc605003fc74c3a 100644
(file)
--- a/
xen/arch/x86/x86_emulate.c
+++ b/
xen/arch/x86/x86_emulate.c
@@
-2706,8
+2706,8
@@
x86_emulate(
goto done;
break;
case 4: /* smsw */
+ ea.bytes = 2;
dst = ea;
- dst.bytes = 2;
fail_if(ops->read_cr == NULL);
if ( (rc = ops->read_cr(0, &dst.val, ctxt)) )
goto done;