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

Benjamin Herrenschmidt benh at kernel.crashing.org
Tue Oct 14 07:51:08 EST 2008


On Mon, 2008-10-13 at 17:21 +0200, Robert Richter wrote:
> 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

I think I already put it in the powerpc next branch.

Cheers,
Ben.





More information about the Linuxppc-dev mailing list