aboutsummaryrefslogtreecommitdiffstats
path: root/lib/debugobjects.c
diff options
context:
space:
mode:
authorPaul Mundt <[email protected]>2008-11-13 08:46:06 +0000
committerPaul Mundt <[email protected]>2008-11-13 08:46:06 +0000
commit272966c070237c8cb540fe67e06df51bc6ea9cc2 (patch)
tree2937aa90cd6c972b13f0173f60e76c186111ffaf /lib/debugobjects.c
parentsh: __copy_user function can corrupt the stack in case of exception (diff)
downloadkernel-272966c070237c8cb540fe67e06df51bc6ea9cc2.tar.gz
kernel-272966c070237c8cb540fe67e06df51bc6ea9cc2.zip
serial: sh-sci: Reorder the SCxTDR write after the TDxE clear.
Under qemu there is a race between the TDxE read-and-clear and the SCxTDR write. While on hardware it can be gauranteed that the read-and-clear will happen prior to the character being written out, no such assumption can be made under emulation. As this path happens with IRQs off and the hardware itself doesn't care about the ordering, move the SCxTDR write until after the read-and-clear. Signed-off-by: Vladimir Prus <[email protected]> Signed-off-by: Paul Mundt <[email protected]>
Diffstat (limited to 'lib/debugobjects.c')
0 files changed, 0 insertions, 0 deletions