kernel - Rename 'cpu' global
authorMatthew Dillon <dillon@apollo.backplane.com>
Fri, 15 Jul 2016 01:14:39 +0000 (18:14 -0700)
committerMatthew Dillon <dillon@apollo.backplane.com>
Fri, 15 Jul 2016 01:14:39 +0000 (18:14 -0700)
commitd6b84cc666ad31b073984b33323029c871a77e55
tree62defa1a8153eb1bc4b3e56c5c739bccc43757a4
parenta23c805fc73222643cb70bfb4c013781f6d6262f
kernel - Rename 'cpu' global

* Rename the 'cpu' global to 'cpu_type' to avoid overloading the variable.
  Many procedures iterate cpus using a local 'cpu' variable.

* Fix once instance where a procedure iterated using the global instead of
  a local.
sys/cpu/x86_64/include/cputypes.h
sys/net/ipfw3_nat/ip_fw3_nat.c
sys/platform/pc64/x86_64/identcpu.c
sys/platform/pc64/x86_64/initcpu.c