From: Timur Tabi Date: Thu, 15 Mar 2007 14:48:53 +0000 (-0500) Subject: [POWERPC] QE: fix invalid pointer usage in ucc_slow_init() X-Git-Tag: v2.6.22-rc1~1109^2~126 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=de74f70360353929009f8611f3bb8fbb4f030527;p=pandora-kernel.git [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 Signed-off-by: Kumar Gala --- Reading git-diff-tree failed