Thread (11 messages) flat view 11 messages, 4 authors, 2008-10-13

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

From: Robert Richter <hidden>
Date: 2008-10-13 15:22:05

On 07.10.08 10:38:33, Arnd Bergmann wrote:
From: Roel Kluin <redacted>

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 <redacted>
Acked-by: Maynard Johnson <redacted>
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Cc: oprofile-list@lists.sf.net
Cc: Carl Love <redacted>
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@amd.com
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help