From: Jason Wessel Date: Fri, 2 Apr 2010 16:33:29 +0000 (-0500) Subject: kgdb: have ebin2mem call probe_kernel_write once X-Git-Tag: v2.6.34-rc4~83^2~4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a0279bd58060ccedbd414edf97d50cfa3778c370;p=pandora-kernel.git 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 Signed-off-by: Sonic Zhang Signed-off-by: Mike Frysinger --- Reading git-diff-tree failed