[PATCH] powerpc/cell/oprofile: vma_map: fix test on overlay_tbl_offset

Robert Richter robert.richter at amd.com
Tue Oct 14 02:21:39 EST 2008


On 07.10.08 10:38:33, Arnd Bergmann wrote:
> From: Roel Kluin <12o3l at tiscali.nl>
> 
> Offset is unsigned and when an address isn't found in the vma map
> vma_map_lookup() returns the vma physical address + 0x10000000.
> 
> vma_map_lookup used to return 0xffffffff on a failed lookup, but
> a change was made to return the vma physical address + 0x10000000
> There are two callers of vam_map_lookup: one of them correctly 
> deals with this new return value, but the other (below) did not.  
> 
> Signed-off-by: Roel Kluin <12o3l at tiscali.nl>
> Acked-by: Maynard Johnson <maynardj at us.ibm.com>
> Signed-off-by: Arnd Bergmann <arnd at arndb.de>
> Cc: oprofile-list at lists.sf.net
> Cc: Carl Love <cel at us.ibm.com>

The patch has been applied to the powerpc-for-paul branch of
git://git.kernel.org/pub/scm/linux/kernel/git/rric/oprofile.git

Thanks Roel and Arnd,

-Robert

-- 
Advanced Micro Devices, Inc.
Operating System Research Center
email: robert.richter at amd.com




More information about the Linuxppc-dev mailing list