summaryrefslogtreecommitdiff
path: root/crypto
diff options
context:
space:
mode:
authorDongdong Deng <dongdong.deng@windriver.com>2010-11-16 22:02:00 (GMT)
committerJason Wessel <jason.wessel@windriver.com>2010-11-17 19:54:58 (GMT)
commite3839ed8e89e79202c0402ac46965c0686897890 (patch)
tree778ff1c52fa26fe515006b2bafcaba24480ba696 /crypto
parent10a6e67648d4b47769953bd24759ba9609bf00df (diff)
downloadlinux-fsl-qoriq-e3839ed8e89e79202c0402ac46965c0686897890.tar.xz
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 'crypto')
0 files changed, 0 insertions, 0 deletions