diff options
author | Stefano Stabellini <stefano.stabellini@eu.citrix.com> | 2012-01-23 09:39:58 +0000 |
---|---|---|
committer | Stefano Stabellini <stefano.stabellini@eu.citrix.com> | 2012-01-23 09:39:58 +0000 |
commit | d4acf6380cbeebb1a90bde55ea36a6230a3116e9 (patch) | |
tree | c44234decbbd26adf2396ab13246a4432fec9dfa /xen/common/domain.c | |
parent | 16c97203f14f0a324187878cbd854bbc25fdb9c1 (diff) | |
download | xen-d4acf6380cbeebb1a90bde55ea36a6230a3116e9.tar.gz xen-d4acf6380cbeebb1a90bde55ea36a6230a3116e9.tar.bz2 xen-d4acf6380cbeebb1a90bde55ea36a6230a3116e9.zip |
A collection of fixes to Xen common files
- call free_xenoprof_pages only ifdef CONFIG_XENOPROF;
- define PRI_stime as PRId64 in an header file;
- respect boundaries in is_kernel_*;
- implement is_kernel_rodata;
- guest_physmap_add_page should be ((void)0).
- fix guest_physmap_add_page;
- introduce CONFIG_XENOPROF;
- define _srodata and _erodata as const char*.
Signed-off-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
Signed-off-by: Ian Campbell <ian.campbell@citrix.com>
Signed-off-by: Tim Deegan <Tim.Deegan@citrix.com>
Committed-by: Keir Fraser <keir@xen.org>
Diffstat (limited to 'xen/common/domain.c')
-rw-r--r-- | xen/common/domain.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/xen/common/domain.c b/xen/common/domain.c index 8e8a9b23d5..229c1d07f7 100644 --- a/xen/common/domain.c +++ b/xen/common/domain.c @@ -635,7 +635,9 @@ static void complete_domain_destroy(struct rcu_head *head) sched_destroy_domain(d); /* Free page used by xen oprofile buffer. */ +#ifdef CONFIG_XENOPROF free_xenoprof_pages(d); +#endif xfree(d->mem_event); |