ARM: Set bit 0 for thumb mode in kallsyms_lookup_name returned address
authorAvik Sil <avik.sil@linaro.org>
Mon, 19 Sep 2011 14:59:59 +0000 (10:59 -0400)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Mon, 19 Sep 2011 14:59:59 +0000 (10:59 -0400)
commitc539a324b020171c10d0fcb100892ac93c17e9e7
treef7dd4a5f6c8c4cd67b8eb22fc676a11a86afdc07
parent974a27a60b6a63fe8064555f3ae053272af662de
ARM: Set bit 0 for thumb mode in kallsyms_lookup_name returned address

This patch fixes the undefined instruction oops due to execution
of thumb-2 code in ARM mode. The zero bit in the symbol address
returned by kallsyms_lookup_name is not set, leading to switching
to ARM mode that generates oops while executing thumb-2 code. For
detailed discussion, see [1].
[1] http://lists.casi.polymtl.ca/pipermail/ltt-dev/2011-September/005176.html

v1:
        - include wrapper function kallsyms_lookup_funcptr as suggested
        by Dave Martin

Signed-off-by: Avik Sil <avik.sil@linaro.org>
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
lttng-context-prio.c
wrapper/ftrace.h
wrapper/splice.c
wrapper/vmalloc.h
This page took 0.026197 seconds and 4 git commands to generate.