aboutsummaryrefslogtreecommitdiffstats
path: root/xen/arch/x86/nmi.c
diff options
context:
space:
mode:
authorKeir Fraser <keir.fraser@citrix.com>2009-07-15 13:15:50 +0100
committerKeir Fraser <keir.fraser@citrix.com>2009-07-15 13:15:50 +0100
commit2e08ff6c7c17091f5c31c36792073cfab9298945 (patch)
tree2ed298b5b89ce0416172f39ef7f21064a3e20ef6 /xen/arch/x86/nmi.c
parentdad74b0f9e62824dc1b902a0352a4a5f966472ac (diff)
downloadxen-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/arch/x86/nmi.c')
-rw-r--r--xen/arch/x86/nmi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/xen/arch/x86/nmi.c b/xen/arch/x86/nmi.c
index 9db8999965..704fb8ee98 100644
--- a/xen/arch/x86/nmi.c
+++ b/xen/arch/x86/nmi.c
@@ -460,7 +460,7 @@ static void do_nmi_stats(unsigned char key)
struct vcpu *v;
printk("CPU\tNMI\n");
- for_each_cpu ( i )
+ for_each_possible_cpu ( i )
printk("%3d\t%3d\n", i, nmi_count(i));
if ( ((d = dom0) == NULL) || (d->vcpu == NULL) ||