]> git.karo-electronics.de Git - mv-sheeva.git/commit
ARM: 7330/1: ftrace: use canonical Thumb-2 wide instruction format
authorRabin Vincent <rabin@rab.in>
Sat, 18 Feb 2012 16:47:03 +0000 (17:47 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Sat, 24 Mar 2012 09:38:54 +0000 (09:38 +0000)
commit4394e2824c8d97d81a336edb469b13c8806604e4
tree68ec90a882dc2df804a4d6e4e5521ad8ebe7743b
parentdc283d7037555aa6891188719be2f1b4af9535c9
ARM: 7330/1: ftrace: use canonical Thumb-2 wide instruction format

As commit 592201a9f15 (ARM: Thumb-2: Support Thumb-2 in undefined
instruction handler) says:

    32-bit Thumb instructions are specified in the form:
        ((first_half << 16 ) | second_half)
    which matches the layout used by the ARM ARM.

Convert the ftrace code to use the same format to avoid the usage of
different formats in kernel code.

Acked-by: Dave Martin <dave.martin@linaro.org>
Signed-off-by: Rabin Vincent <rabin@rab.in>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/kernel/ftrace.c