aboutsummaryrefslogtreecommitdiff
path: root/arch/arm/mm/cache-l2x0.c
diff options
context:
space:
mode:
authorWade Farnsworth <[email protected]>2012-10-02 17:08:30 +0100
committerRussell King <[email protected]>2012-10-05 10:38:13 +0100
commit8ef102c6b4bc996ff96ca52b34775fe931ec90c9 (patch)
tree9588993db4623db333a6d819a9a97cb0cfc076d5 /arch/arm/mm/cache-l2x0.c
parentd5e4cc8faf91bb408fdf2767f73dcfee35e193da (diff)
ARM: 7548/1: include linux/sched.h in syscall.h
The syscall tracing patch introduces a compile bug in lttng-modules when the latter calls syscall_get_nr(), similar to the following: <path-to-linux>/arch/arm/include/asm/syscall.h:21:2: error: implicit declaration of function 'task_thread_info' [-Werror=implicit-function-declaration] The issue is that we are using task_thread_info() in the syscall_get_nr() function in asm/syscall.h, but not explicitly including sched.h from this file, so we can expect this bug might surface any time that syscall_get_nr() is called. Explicitly including sched.h solves the problem. Cc: <[email protected]> [3.5, 3.6] Signed-off-by: Wade Farnsworth <[email protected]> Acked-by: Will Deacon <[email protected]> Signed-off-by: Russell King <[email protected]>
Diffstat (limited to 'arch/arm/mm/cache-l2x0.c')
0 files changed, 0 insertions, 0 deletions