]> git.neil.brown.name Git - history.git/commit
[PATCH] Make kstat_this_cpu in terms of __get_cpu_var and use it
authorRusty Russell <rusty@rustcorp.com.au>
Mon, 7 Jul 2003 06:01:42 +0000 (23:01 -0700)
committerSteve French <cifs.adm@hostme.bitkeeper.com>
Mon, 7 Jul 2003 06:01:42 +0000 (23:01 -0700)
commitb993be7e4517f328fd6bd8bcea2f038c894a292e
tree5c57830158cec1d40c81b85e23353bad4647184d
parent163feb5818080346b1e819ca8f8fcd68eac5e593
[PATCH] Make kstat_this_cpu in terms of __get_cpu_var and use it

kstat_this_cpu() is defined in terms of per_cpu instead of __get_cpu_var.

This patch changes that, and uses it everywhere appropriate.  The sched.c
change puts it in a local variable, which helps gcc generate better code.
arch/i386/kernel/irq.c
include/linux/kernel_stat.h
kernel/sched.c