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)
commit0fde663708c981189e4e62f3be51e02b1ad4eead
tree46cf9f766c2f8ec2c4586f2eac83d2e01d712ea1
parent6144a85a0e018c19bc4b24f7eb6c1f3f7431813d
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]