Change 2811623 by JGlauber@ELINA_KERNEL_SRC_DevMain_JGlauber_hal_share on
2013/04/23 14:15:16
[SPOT-83] Backport ARM system call tracepoints
##TypeOfChange#
[ ] BF = BugFix
[x] FE = Feature
[ ] OP = Optimization
[ ] QI = Quality_Improvement
[ ] IN = Integration
[ ] OT = Other : ___
##CauseOfWork#
[ ] TTS/Ref : ___
[ ] WP : ___
[x] OT : https://jira.harman.com/jira/browse/SPOT-83
##IntDoc#
Backport ARM system call tracepoints
commit 35b5e4433a5f837d05b3238a349a98ee88e517c0
Author: Wade Farnsworth <[email protected]>
Date: Tue Oct 2 17:08:30 2012 +0100
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]>
##ExtDoc#
-
##Interfaces#
[x] NC = No_Change
[ ] CH = Change_Interface, Reference : ___
##Verification#
[ ] SI = PC-Simulation
[x] TA = Target : ELINA
[ ] NT = Not_Tested, because : ____
Remark : Reviewed-by: Ingo Neumann
/-1.1.1**
Affected files ...
... //ELINA/Kernel/Branches/SPOT/Kernel/arch/arm/include/asm/syscall.h#3 edit
--
To unsubscribe from this list: send the line "unsubscribe stable" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html