]> git.baikalelectronics.ru Git - kernel.git/commit
blackfin,kgdb,probe_kernel: Cleanup probe_kernel_read/write
authorJason Wessel <jason.wessel@windriver.com>
Thu, 7 Jan 2010 17:58:36 +0000 (11:58 -0600)
committerJason Wessel <jason.wessel@windriver.com>
Thu, 7 Jan 2010 17:58:36 +0000 (11:58 -0600)
commitf0107431fcf5cacc53c3f446d3e840b2f1f9254f
tree46cf9f766c2f8ec2c4586f2eac83d2e01d712ea1
parent21c29654b814a1f5df2bd91d8bf8d65cf5cb96ea
blackfin,kgdb,probe_kernel: Cleanup probe_kernel_read/write

Blackfin needs it own arch specific probe_kernel_read() and
probe_kernel_write().

This was moved out of the kgdb code and into the
arch/blackfin/maccess.c, because it is a generic kernel api.

The arch specific kgdb.c for blackfin was cleaned of all functions
which exist in the kgdb core that do the same thing after resolving
the probe_kernel_read() and probe_kernel_write().  This also
eliminated the need for most of the #include's.

CC: Sonic Zhang <sonic.adi@gmail.com>
Signed-off-by: Jason Wessel <jason.wessel@windriver.com>
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
arch/blackfin/kernel/kgdb.c
arch/blackfin/mm/Makefile
arch/blackfin/mm/maccess.c [new file with mode: 0644]