diff options
author | Keir Fraser <keir.fraser@citrix.com> | 2009-03-12 15:37:12 +0000 |
---|---|---|
committer | Keir Fraser <keir.fraser@citrix.com> | 2009-03-12 15:37:12 +0000 |
commit | 0ef0dcc006677405c2f83ddc54bfc9c7af8e9604 (patch) | |
tree | 1b0068e494aec12abf395beae3ebe2ba132e6c08 /xen/common/sysctl.c | |
parent | 793c8368986825befff8d08e537a03a3ee14dc38 (diff) | |
download | xen-0ef0dcc006677405c2f83ddc54bfc9c7af8e9604.tar.gz xen-0ef0dcc006677405c2f83ddc54bfc9c7af8e9604.tar.bz2 xen-0ef0dcc006677405c2f83ddc54bfc9c7af8e9604.zip |
Add debug code to catch count_info errors in page_alloc.c
This patch is temporary.
Signed-off-by: Keir Fraser <keir.fraser@citrix.com>
Diffstat (limited to 'xen/common/sysctl.c')
-rw-r--r-- | xen/common/sysctl.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/xen/common/sysctl.c b/xen/common/sysctl.c index 898cdc1e58..0a4726e8ef 100644 --- a/xen/common/sysctl.c +++ b/xen/common/sysctl.c @@ -238,6 +238,8 @@ long do_sysctl(XEN_GUEST_HANDLE(xen_sysctl_t) u_sysctl) uint32_t *status, *ptr; unsigned long pfn; + BUG(); + ptr = status = xmalloc_bytes( sizeof(uint32_t) * (op->u.page_offline.end - op->u.page_offline.start + 1)); |