[Blackfin] arch: change the trace buffer control start/stop logic in the exception...
commit80f31c8a03d2f0644d0ceaf14e7e0108a007c962
authorMike Frysinger <vapier.adi@gmail.com>
Sat, 2 Feb 2008 07:47:24 +0000 (2 15:47 +0800)
committerBryan Wu <bryan.wu@analog.com>
Sat, 2 Feb 2008 07:47:24 +0000 (2 15:47 +0800)
tree71af89f61a1e9f969b9d24977e97ed5982f98237
parenta3acf52885a2312efb30a043062ef88dc3813082
[Blackfin] arch: change the trace buffer control start/stop logic in the exception handlers

To save/restore the trace buffer control so that if we take an exception
after turning off the trace buffer at a higher level we dont inadvertently
turn the trace buffer back on

Signed-off-by: Mike Frysinger <vapier.adi@gmail.com>
Signed-off-by: Bryan Wu <bryan.wu@analog.com>
arch/blackfin/mach-common/entry.S
include/asm-blackfin/trace.h