aboutsummaryrefslogtreecommitdiffstats
path: root/xen/common/xenoprof.c
diff options
context:
space:
mode:
authorkaf24@localhost.localdomain <kaf24@localhost.localdomain>2007-01-26 18:38:40 +0000
committerkaf24@localhost.localdomain <kaf24@localhost.localdomain>2007-01-26 18:38:40 +0000
commitf42eb8636f525fce8a8bec63dab14c24e3679641 (patch)
treece651d9a4dbb4c83cf1d46a18343a09e8876049b /xen/common/xenoprof.c
parent9c8c190b9ba02147eed4e9d4298284ab10c876b1 (diff)
downloadxen-f42eb8636f525fce8a8bec63dab14c24e3679641.tar.gz
xen-f42eb8636f525fce8a8bec63dab14c24e3679641.tar.bz2
xen-f42eb8636f525fce8a8bec63dab14c24e3679641.zip
Rename find_domain_by_id() to get_domain_by_id().
Signed-off-by: Keir Fraser <keir@xensource.com>
Diffstat (limited to 'xen/common/xenoprof.c')
-rw-r--r--xen/common/xenoprof.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/xen/common/xenoprof.c b/xen/common/xenoprof.c
index d61e3f173e..7e2a04bb5c 100644
--- a/xen/common/xenoprof.c
+++ b/xen/common/xenoprof.c
@@ -346,7 +346,7 @@ static int add_active_list(domid_t domid)
if ( adomains >= MAX_OPROF_DOMAINS )
return -E2BIG;
- d = find_domain_by_id(domid);
+ d = get_domain_by_id(domid);
if ( d == NULL )
return -EINVAL;
@@ -369,7 +369,7 @@ static int add_passive_list(XEN_GUEST_HANDLE(void) arg)
if ( copy_from_guest(&passive, arg, 1) )
return -EFAULT;
- d = find_domain_by_id(passive.domain_id);
+ d = get_domain_by_id(passive.domain_id);
if ( d == NULL )
return -EINVAL;