undo C99ism
Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
Cc: Aaron Tomlin <atomlin@redhat.com>
Cc: Don Zickus <dzickus@redhat.com>
Cc: David S. Miller <davem@davemloft.net>
Cc: Mateusz Guzik <mguzik@redhat.com>
Cc: Oleg Nesterov <oleg@redhat.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
smp_fetch_global_regs();
for_each_online_cpu(cpu) {
+ struct global_reg_snapshot *gp;
+
if (!include_self && cpu == this_cpu)
continue;
- struct global_reg_snapshot *gp = &global_cpu_snapshot[cpu].reg;
+ gp = &global_cpu_snapshot[cpu].reg;
__global_reg_poll(gp);