diff options
author | Dongdong Deng <[email protected]> | 2010-11-16 16:02:00 -0600 |
---|---|---|
committer | Jason Wessel <[email protected]> | 2010-11-17 13:54:58 -0600 |
commit | e3839ed8e89e79202c0402ac46965c0686897890 (patch) | |
tree | 778ff1c52fa26fe515006b2bafcaba24480ba696 /tools/perf/util/trace-event-scripting.c | |
parent | 10a6e67648d4b47769953bd24759ba9609bf00df (diff) |
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
[[email protected]: Remove void * casts and fix patch header]
Reported-by: Milton Miller <[email protected]>
Signed-off-by: Dongdong Deng <[email protected]>
Acked-by: Kumar Gala <[email protected]>
Signed-off-by: Jason Wessel <[email protected]>
CC: [email protected]
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions