diff options
Diffstat (limited to 'kernel/sched.c')
-rw-r--r-- | kernel/sched.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/kernel/sched.c b/kernel/sched.c index fc17fd91ab57..9d30ac956328 100644 --- a/kernel/sched.c +++ b/kernel/sched.c | |||
@@ -9472,7 +9472,7 @@ cpuacct_destroy(struct cgroup_subsys *ss, struct cgroup *cgrp) | |||
9472 | 9472 | ||
9473 | static u64 cpuacct_cpuusage_read(struct cpuacct *ca, int cpu) | 9473 | static u64 cpuacct_cpuusage_read(struct cpuacct *ca, int cpu) |
9474 | { | 9474 | { |
9475 | u64 *cpuusage = percpu_ptr(ca->cpuusage, cpu); | 9475 | u64 *cpuusage = per_cpu_ptr(ca->cpuusage, cpu); |
9476 | u64 data; | 9476 | u64 data; |
9477 | 9477 | ||
9478 | #ifndef CONFIG_64BIT | 9478 | #ifndef CONFIG_64BIT |
@@ -9491,7 +9491,7 @@ static u64 cpuacct_cpuusage_read(struct cpuacct *ca, int cpu) | |||
9491 | 9491 | ||
9492 | static void cpuacct_cpuusage_write(struct cpuacct *ca, int cpu, u64 val) | 9492 | static void cpuacct_cpuusage_write(struct cpuacct *ca, int cpu, u64 val) |
9493 | { | 9493 | { |
9494 | u64 *cpuusage = percpu_ptr(ca->cpuusage, cpu); | 9494 | u64 *cpuusage = per_cpu_ptr(ca->cpuusage, cpu); |
9495 | 9495 | ||
9496 | #ifndef CONFIG_64BIT | 9496 | #ifndef CONFIG_64BIT |
9497 | /* | 9497 | /* |
@@ -9587,7 +9587,7 @@ static void cpuacct_charge(struct task_struct *tsk, u64 cputime) | |||
9587 | ca = task_ca(tsk); | 9587 | ca = task_ca(tsk); |
9588 | 9588 | ||
9589 | for (; ca; ca = ca->parent) { | 9589 | for (; ca; ca = ca->parent) { |
9590 | u64 *cpuusage = percpu_ptr(ca->cpuusage, cpu); | 9590 | u64 *cpuusage = per_cpu_ptr(ca->cpuusage, cpu); |
9591 | *cpuusage += cputime; | 9591 | *cpuusage += cputime; |
9592 | } | 9592 | } |
9593 | } | 9593 | } |