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 7d97ff7c4478..0e5c38e1c8b5 100644 --- a/kernel/sched.c +++ b/kernel/sched.c | |||
@@ -9476,7 +9476,7 @@ cpuacct_destroy(struct cgroup_subsys *ss, struct cgroup *cgrp) | |||
9476 | 9476 | ||
9477 | static u64 cpuacct_cpuusage_read(struct cpuacct *ca, int cpu) | 9477 | static u64 cpuacct_cpuusage_read(struct cpuacct *ca, int cpu) |
9478 | { | 9478 | { |
9479 | u64 *cpuusage = percpu_ptr(ca->cpuusage, cpu); | 9479 | u64 *cpuusage = per_cpu_ptr(ca->cpuusage, cpu); |
9480 | u64 data; | 9480 | u64 data; |
9481 | 9481 | ||
9482 | #ifndef CONFIG_64BIT | 9482 | #ifndef CONFIG_64BIT |
@@ -9495,7 +9495,7 @@ static u64 cpuacct_cpuusage_read(struct cpuacct *ca, int cpu) | |||
9495 | 9495 | ||
9496 | static void cpuacct_cpuusage_write(struct cpuacct *ca, int cpu, u64 val) | 9496 | static void cpuacct_cpuusage_write(struct cpuacct *ca, int cpu, u64 val) |
9497 | { | 9497 | { |
9498 | u64 *cpuusage = percpu_ptr(ca->cpuusage, cpu); | 9498 | u64 *cpuusage = per_cpu_ptr(ca->cpuusage, cpu); |
9499 | 9499 | ||
9500 | #ifndef CONFIG_64BIT | 9500 | #ifndef CONFIG_64BIT |
9501 | /* | 9501 | /* |
@@ -9591,7 +9591,7 @@ static void cpuacct_charge(struct task_struct *tsk, u64 cputime) | |||
9591 | ca = task_ca(tsk); | 9591 | ca = task_ca(tsk); |
9592 | 9592 | ||
9593 | for (; ca; ca = ca->parent) { | 9593 | for (; ca; ca = ca->parent) { |
9594 | u64 *cpuusage = percpu_ptr(ca->cpuusage, cpu); | 9594 | u64 *cpuusage = per_cpu_ptr(ca->cpuusage, cpu); |
9595 | *cpuusage += cputime; | 9595 | *cpuusage += cputime; |
9596 | } | 9596 | } |
9597 | } | 9597 | } |