diff options
author | Dongdong Deng <dongdong.deng@windriver.com> | 2010-11-16 16:02:00 -0600 |
---|---|---|
committer | Jason Wessel <jason.wessel@windriver.com> | 2010-11-17 13:54:58 -0600 |
commit | e3839ed8e89e79202c0402ac46965c0686897890 (patch) | |
tree | 778ff1c52fa26fe515006b2bafcaba24480ba696 /kernel | |
parent | 10a6e67648d4b47769953bd24759ba9609bf00df (diff) | |
download | kernel_samsung_smdk4412-e3839ed8e89e79202c0402ac46965c0686897890.zip kernel_samsung_smdk4412-e3839ed8e89e79202c0402ac46965c0686897890.tar.gz kernel_samsung_smdk4412-e3839ed8e89e79202c0402ac46965c0686897890.tar.bz2 |
kgdb,ppc: Fix regression in evr register handling
Commit ff10b88b5a05c8f1646dd15fb9f6093c1384ff6d (kgdb,ppc: Individual
register get/set for ppc) introduced a problem where memcpy was used
incorrectly to read and write the evr registers with a kernel that
has:
CONFIG_FSL_BOOKE=y
CONFIG_SPE=y
CONFIG_KGDB=y
This patch also fixes the following compilation problems:
arch/powerpc/kernel/kgdb.c: In function 'dbg_get_reg':
arch/powerpc/kernel/kgdb.c:341: error: passing argument 2 of 'memcpy' makes pointer from integer without a cast
arch/powerpc/kernel/kgdb.c: In function 'dbg_set_reg':
arch/powerpc/kernel/kgdb.c:366: error: passing argument 1 of 'memcpy' makes pointer from integer without a cast
[jason.wessel@windriver.com: Remove void * casts and fix patch header]
Reported-by: Milton Miller <miltonm@bga.com>
Signed-off-by: Dongdong Deng <dongdong.deng@windriver.com>
Acked-by: Kumar Gala <galak@kernel.crashing.org>
Signed-off-by: Jason Wessel <jason.wessel@windriver.com>
CC: linuxppc-dev@lists.ozlabs.org
Diffstat (limited to 'kernel')
0 files changed, 0 insertions, 0 deletions