diff options
author | Keir Fraser <keir.fraser@citrix.com> | 2009-07-15 13:15:50 +0100 |
---|---|---|
committer | Keir Fraser <keir.fraser@citrix.com> | 2009-07-15 13:15:50 +0100 |
commit | 2e08ff6c7c17091f5c31c36792073cfab9298945 (patch) | |
tree | 2ed298b5b89ce0416172f39ef7f21064a3e20ef6 /xen/common/tmem_xen.c | |
parent | dad74b0f9e62824dc1b902a0352a4a5f966472ac (diff) | |
download | xen-2e08ff6c7c17091f5c31c36792073cfab9298945.tar.gz xen-2e08ff6c7c17091f5c31c36792073cfab9298945.tar.bz2 xen-2e08ff6c7c17091f5c31c36792073cfab9298945.zip |
Rename for_each_cpu() to for_each_possible_cpu()
... to be more precise in naming, and also to match Linux.
Signed-off-by: Jan Beulich <jbeulich@novell.com>
Diffstat (limited to 'xen/common/tmem_xen.c')
-rw-r--r-- | xen/common/tmem_xen.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xen/common/tmem_xen.c b/xen/common/tmem_xen.c index f1b94239f4..f813b0e52f 100644 --- a/xen/common/tmem_xen.c +++ b/xen/common/tmem_xen.c @@ -317,7 +317,7 @@ EXPORT int tmh_init(void) dstmem_order = get_order_from_pages(LZO_DSTMEM_PAGES); workmem_order = get_order_from_bytes(LZO1X_1_MEM_COMPRESS); - for_each_cpu ( cpu ) + for_each_possible_cpu ( cpu ) { pi = alloc_domheap_pages(0,dstmem_order,0); per_cpu(dstmem, cpu) = p1 = ((pi == NULL) ? NULL : page_to_virt(pi)); |