]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
[AVR32] Fix bogus ti->flags manipulation in debug handler
authorHaavard Skinnemoen <hskinnemoen@atmel.com>
Thu, 1 Mar 2007 09:37:35 +0000 (10:37 +0100)
committerHaavard Skinnemoen <hskinnemoen@atmel.com>
Wed, 7 Mar 2007 09:50:28 +0000 (10:50 +0100)
commita19b4a14053f24e2df93b6bcc72ed1086cce0de4
tree2cfb0c1f10c87e713750e42e1390eb6fa2372f94
parentbfa4f55cc8d17e3944a4b5d08e2cce7d5a55a2d6
[AVR32] Fix bogus ti->flags manipulation in debug handler

We should OR in a bitmask, not a bit offset, into ti->flags. This
might fix some strange behaviour when single stepping.

Also, use set_ti_thread_flag() to manipulate the flags to avoid
surprises in the future.

Signed-off-by: Haavard Skinnemoen <hskinnemoen@atmel.com>
arch/avr32/kernel/ptrace.c