sched/cputime: Add dummy cputime_adjust() implementation for CONFIG_VIRT_CPU_ACCOUNTI...
authorTejun Heo <tj@kernel.org>
Mon, 25 Sep 2017 21:27:54 +0000 (14:27 -0700)
committerTejun Heo <tj@kernel.org>
Mon, 25 Sep 2017 21:27:54 +0000 (14:27 -0700)
commit8157a7faf94135386bf04b1cf94e6efd3fb94702
tree8d64694f058bb6b518926246c428de74ca3936ce
parent38683148828165ea0b66ace93a9fedc2d3281e27
sched/cputime: Add dummy cputime_adjust() implementation for CONFIG_VIRT_CPU_ACCOUNTING_NATIVE

cfb766da54d9 ("sched/cputime: Expose cputime_adjust()") made
cputime_adjust() public for cgroup basic cpu stat support; however,
the commit forgot to add a dummy implementaiton for
CONFIG_VIRT_CPU_ACCOUNTING_NATIVE leading to compiler errors on some
s390 configurations.

Fix it by adding the missing dummy implementation.

Reported-by: “kbuild-all@01.org” <kbuild-all@01.org>
Fixes: cfb766da54d9 ("sched/cputime: Expose cputime_adjust()")
Signed-off-by: Tejun Heo <tj@kernel.org>
kernel/sched/cputime.c