diff options
author | Stefano Stabellini <stefano.stabellini@eu.citrix.com> | 2015-11-10 12:36:46 (GMT) |
---|---|---|
committer | David Vrabel <david.vrabel@citrix.com> | 2015-12-21 14:40:53 (GMT) |
commit | 1fe7c4ef88bd32e039f5f4126537c3f20c340414 (patch) | |
tree | 5734ca7275324d64398a3e84ad9935cb789513f2 /arch/arm64/kernel/io.c | |
parent | 4ccefbe597392d2914cf7ad904e33c734972681d (diff) | |
download | linux-1fe7c4ef88bd32e039f5f4126537c3f20c340414.tar.xz |
missing include asm/paravirt.h in cputime.c
Add include asm/paravirt.h to cputime.c, as steal_account_process_tick
calls paravirt_steal_clock, which is defined in asm/paravirt.h.
The ifdef CONFIG_PARAVIRT is necessary because not all archs have an
asm/paravirt.h to include.
The reason why currently cputime.c compiles, even though include
<asm/paravirt.h> is missing, is that on x86 asm/paravirt.h is included
by one of the other headers included in kernel/sched/cputime.c:
On arm and arm64, where I am about to introduce asm/paravirt.h and
stolen time support, without #include <asm/paravirt.h> in cputime.c, I
would get an error.
Signed-off-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
Acked-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Diffstat (limited to 'arch/arm64/kernel/io.c')
0 files changed, 0 insertions, 0 deletions