]> git.baikalelectronics.ru Git - kernel.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)
commit0fe862f06cba0b987887e58f5a9a79ab8548c7f8
tree2cfb0c1f10c87e713750e42e1390eb6fa2372f94
parenta99935c6b48c40575bb1660222123779bf338c9f
[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