aboutsummaryrefslogtreecommitdiffstats
path: root/xen/arch/x86/domctl.c
diff options
context:
space:
mode:
authorTim Deegan <tim@xen.org>2012-03-22 10:25:28 +0000
committerTim Deegan <tim@xen.org>2012-03-22 10:25:28 +0000
commit38aa259201ebb8abc93f2047d89678e7e5c381e0 (patch)
tree44cd7489a930b319c3605ad344b939bb49878690 /xen/arch/x86/domctl.c
parent5823a8d7bfebf2519b8ed5b979efd24b31320137 (diff)
downloadxen-38aa259201ebb8abc93f2047d89678e7e5c381e0.tar.gz
xen-38aa259201ebb8abc93f2047d89678e7e5c381e0.tar.bz2
xen-38aa259201ebb8abc93f2047d89678e7e5c381e0.zip
x86: Fix put_gfn in XEN_DOMCTL_getpageframeinfo3.
Reported by Christian Limpach. Signed-off-by: Tim Deegan <tim@xen.org>
Diffstat (limited to 'xen/arch/x86/domctl.c')
-rw-r--r--xen/arch/x86/domctl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/xen/arch/x86/domctl.c b/xen/arch/x86/domctl.c
index 5bc2d41854..168147fa98 100644
--- a/xen/arch/x86/domctl.c
+++ b/xen/arch/x86/domctl.c
@@ -237,8 +237,8 @@ long arch_do_domctl(
else
type = XEN_DOMCTL_PFINFO_XTAB;
- arr[j] = type;
put_gfn(d, arr[j]);
+ arr[j] = type;
}
if ( copy_to_guest_offset(domctl->u.getpageframeinfo3.array,