aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorTimur Tabi <[email protected]>2007-03-15 09:48:53 -0500
committerKumar Gala <[email protected]>2007-03-26 17:06:22 -0500
commitde74f70360353929009f8611f3bb8fbb4f030527 (patch)
tree57e85e2dc75862d6fd64f963674c4ccfe4a5c3ba /tools/perf/scripts/python
parent8b03336752e664880182a8f50e1807edc7fe93d4 (diff)
[POWERPC] QE: fix invalid pointer usage in ucc_slow_init()
In two places, ucc_slow_init() passes a physical address instead of the virtual address to functions that were expecting the latter, causing a kernel panic. us_info->regs contains the physical address of the UCC register set. The registers are ioremap'd to kernel space, and the virtual pointers are stored in us_regs. The code was using us_info->regs when it should have been using us_regs. Signed-off-by: Timur Tabi <[email protected]> Signed-off-by: Kumar Gala <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions