Files
android_kernel_xiaomi_sm8450/arch/tile/kernel
Chris Metcalf 77ef8f5177 tile kgdb: fix bug in copy to gdb regs, and optimize memset
David Binderman pointed out that we were doing a full memset()
of the gdb register buffer and then doing a memcpy() to it that
was almost as big.  This commit optimizes that by only doing a
memset() of the registers that are intended to be zero.

While making this change I noticed that we were not copying the
link register (LR, number 55) due to a fencepost error in commit
f419e6f63c ("arch: tile: kernel: kgdb.c: Use memcpy() instead of
pointer copy one by one"), and I've corrected that as well.

Reported-by: David Binderman <dcb314@hotmail.com>
Signed-off-by: Chris Metcalf <cmetcalf@ezchip.com>
2016-03-02 15:19:44 -05:00
..
2015-08-06 20:22:40 -04:00
2013-09-16 15:47:32 -04:00
2015-05-11 11:22:40 -04:00
2016-01-20 17:09:18 -08:00
2013-08-12 14:46:18 -04:00
2015-04-17 12:58:44 -04:00
2013-08-13 16:26:01 -04:00
2013-08-30 11:56:34 -04:00
2015-09-28 11:23:39 -04:00