diff options
author | Jason Wessel <jason.wessel@windriver.com> | 2010-04-02 20:33:29 +0400 |
---|---|---|
committer | Jason Wessel <jason.wessel@windriver.com> | 2010-04-02 23:58:17 +0400 |
commit | a0279bd58060ccedbd414edf97d50cfa3778c370 (patch) | |
tree | af70474c8f284ce4a0429b22417699fa7b40e9a5 /drivers/misc/kgdbts.c | |
parent | 42be79e37e264557f12860fa4cc84b4de3685954 (diff) | |
download | linux-a0279bd58060ccedbd414edf97d50cfa3778c370.tar.xz |
kgdb: have ebin2mem call probe_kernel_write once
Rather than call probe_kernel_write() one byte at a time, process the
whole buffer locally and pass the entire result in one go. This way,
architectures that need to do special handling based on the length can
do so, or we only end up calling memcpy() once.
[sonic.zhang@analog.com: Reported original problem and preliminary patch]
Signed-off-by: Jason Wessel <jason.wessel@windriver.com>
Signed-off-by: Sonic Zhang <sonic.zhang@analog.com>
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Diffstat (limited to 'drivers/misc/kgdbts.c')
0 files changed, 0 insertions, 0 deletions